Back up your Dokku Digital Ocean server


Written by Alan Vardy
Tagged with  digital ocean  dokku  linux  servers

Want to do make an offsite backup? Heard the horror stories of what happens when Digital Ocean cuts you off (hint: you lose access to your backups too).

rsync to the rescue!

This command will transfer the folder, will all files inside, to the destination folder. In this case I am putting the dokku home folder (which contains all my Dokku containers) in my downloads folder.

rsync -azP --delete root@YOUR.IP.ADDRESS.HERE:/home/dokku ~/Downloads/

Related Posts