Is there anyway to do remote backups via ssh ? like bash script on cron job or something ?
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
I made backups and transferred them to a backup server via ssh automatically. Now I’m using rsync to synchronize two servers.
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
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.
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
- Unpack the archive.
- Edit the config file.
- Key your servers so that you can connect via ssh from the local to the remote without any password.
- Edit the skiplist file if necessary and add domains you want to skip. One domain per line.
- 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)
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