I'd like to do a nightly backup of some things I'm working on and push them to my home server from a friend's VPS. Incremental would be nice because he's great at fucking things up.I've never used rsync and scp will take way too long to do every night, so I'd like an automatic back up nightly and I'd like to store only 3-7 days.
Here's a basic layout of what I have:
Remote server in Chicago is mail server, backup server and public facing
FTP server due to higher bandwidth.
I want the remote server to VPN back to a local server so that on the
local network it is addressable on the internal network (say it has an
address of 10.8.0.6) and then nightly a script will go and rsync data from
local server to the remote.
I have /etc/cron.d/remote-server-backup as follows:
***starts***
MAILTO="log@automatem.co.nz"
23 1,7,13,19 * * * root /usr/local/bin/backup-server nzs1.automatem.co
43 2,8,14,20 * * * root /usr/local/bin/backup-server nzs2.automatem.co
***ends***
The script is custom written and performs an incremental backup with rsync.
I'm finding that nzs2.automatem.co script runs every 6 hours, the nzs1.a
I'm trying to setup a backup script on Ubuntu. Every day I want to copy my local source directory to a backup directory on a remote server uniquely named with the date. (e.g., backup-jan1/, backup-jan2/, etc) It should store a mirror of the earliest state and use difference files to recreate the new backup points.
This is pretty simple with rsync.
Hi,
I am trying to use rsync utility through ssh to synchronize some root files of 2 servers.
I have a rsyncusr user in each server. I configured ssh with no password.
I need to login as root, or at least get root privileges, in a cron triggered backup run.
Greetings
I'm using Ubuntu 10.04 LTS server and Postgresql 8.4.
I have a .sh script that is run by cron every other hour. That works fine.
The .sh script includes an rsync command that copies a postgresql dump .tar file to a remote archive location via ssh. That fails when run by cron; I think because it is (quietly) asking for the remote user's password (and not getting it).
I have some servers and VPSs to many companies across the world. I want to back them up locally. I have some backup solutions enabled to remote hosts, but I want to have a local backup on a computer at home.
What I am thinking is:
Create a virtualbox virtual machine, install the same version linux as the server.
Use rsync to backup the server to the local virtualbox machine.
I have a script which will upload files from a specific directory (with rsync) to the server, but in the mean time another script will pull files from the server (also with rsync and with the --delete flag).
This means, that when I add a lot of files to it and rsync is in the process of uploading files and the download script is also being run, some files (which are not yet uploaded to the server