Actually the command adds items to exclude list: dropbox exclude add "Dropbox/books/" Third create dropbox folder for backup copies: mkdir ~/Dropbox/backupsįourth prepare folder for reverse-sync (unsync unnecessary folders)įor example, your Dropbox folder has subfolders and a file: backups When next night Discourse removes old backup file, rsync removes it from Dropbox as well. I don’t use it.Ĭommands to manage the daemon: dropbox statusĬheck your autostart script has been created (click to expand hidden text): #cat /etc/systemd/system/rviceĮxecStart=/bin/sh -c '/usr/local/bin/dropbox start'ĮxecStop=/bin/sh -c '/usr/local/bin/dropbox stop'ĭiscourse provides backup files and it manages their number and the frequency.Ĭrontab rsync task copies new backup to local Dropbox folder.Īfter that Dropbox uploads new file to the cloud. Official Dropbox recommends to download Python script to manage your daemon. After that a directory Dropbox will be created in your home folder. You need to copy and paste it to web browser and follow the instructions. When you first use Dropbox at your server you will see a uniq weblink. Second connect your server to Dropbox with shell commands ( important: because I run the service as root, I am logged as root at this step - so you may try your regular user): cd ~ & wget -O - "" | tar xzf. Maximum backups (3) - this manages how many files will retain in Dropboxīackup gzip compression level (6) - choose between compress speed (1) or less size (9), but in case of VPS your host provider my restart your server in case of long high CPU utilization
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |