Does anyone have a bash script that will only backup new or modified files inside a specific directory?
Basically, what I'm looking for is an incremental backup. I've been running a full backup for a couple days now and it's just not practical.
|
Does anyone have a bash script that will only backup new or modified files inside a specific directory? Basically, what I'm looking for is an incremental backup. I've been running a full backup for a couple days now and it's just not practical. | |||
|
feedback
|
it does exactly what you need to be more specific - you must have
where 1.2.3.4 is the ip of the machine and ETC is defined in /etc/rsyncd.conf as seen below
also, port 873/tcp must be allowed in the firewall | |||||
feedback
|
|
rdiff-backup is honestly your best bet for this. I've been using it for about 2 years on a fairly large and active box. Using it is pretty straight forward:
If you're interested in backups over a network, check out Duplcity (Google for it, I can't post two links apparently) which works under the same concept but sends encrypted volumes to wherever you wish. Even supports Amazon S3. | |||
|
feedback
|
|
rsync cannot create incremental backups. Try rdiff-backup. | |||||||
feedback
|