

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

You may use Dropbox to store files as much as your plan allows.

The deal is to put new backup to your local Dropbox folder (with a cron script provided). Dropbox has an advantage - it syncs a new backup as soon as it appears in the system.
