How would I do routine remote backups

Is there anyway to do remote backups via ssh ? like bash script on cron job or something ?

Hi mrgeekchris

Yes, take a look at CLI after ssh into server

The easiest way is after logged in via ssh, type nodeworx or siteworx and look at man page, or simply look at the menu list

Hope that helps

Many thanks

John

Check this page: http://www.interworx.com/support/faq/backup-restore-siteworx-nodeworx-accounts/

I made backups and transferred them to a backup server via ssh automatically. Now I’m using rsync to synchronize two servers.

Hi

Sorry, I didn’t realise you were looking for automated backup to another location.

If it helps everyone, rfx networks have rsync but which does incremental. Works lovely

Many thanks

John

Hi,

See this thread for a possible solution to automate remote backups. It’s written for amazon s3, but you could adapt it to your needs.

http://forums.interworx.com/threads/5067-Howto-Setup-S3-Backups?p=25856#post25856

I know this thread is a bit old but I have a remote backup script that is automated.

Grab it here: http://talavera.getmyip.com/misc/remote_backup.tar.gz

Instructions:

  1. Unpack the archive.
  2. Edit the config file.
  3. Key your servers so that you can connect via ssh from the local to the remote without any password.
  4. Edit the skiplist file if necessary and add domains you want to skip. One domain per line.
  5. Run the script remote_backup.sh manually to test and then create your cron job to do it daily or weekly…

remote_backup.zip (1.52 KB)

Hi ctalavera

Many thanks for sharing.

It would be lovely if more users shared, I know there’s a few who do, which is great and helps all forum users.

Kudos to you

Many thanks

John