2
votes
0answers
37 views

How can I run a simple rsync shell script at boot with root? [duplicate]

I have a shell script that contains a single rsync command to rsync two local directories. I want the script to run at startup/during boot and I can't seem to find the solution for this problem. ...
1
vote
1answer
37 views

Writing a script to rsync all directories

I have a huge set of backup files, each containing a directory of Videos. Each video directory is slightly different. I would like to merge these into a single directory to conserve, as I don't ...
0
votes
0answers
121 views

How to fix this rsync script?

rsync directory always starts in the home directory, but I want to sync files into a directory inside of a .kde directory. I tried this: rsync -avc -e ssh root@xxx.xx.x.xx:/var/www/.../backup/docdata ...
1
vote
1answer
257 views

Use rsync to change only the date modified of folders/files

I just transferred 1.8TB of data from an external hard drive to an internal hard drive using rsync, but I didn't add the "-t" flag, so the "Date Modified" for every file on the internal hard drive is ...
3
votes
1answer
649 views

Rsync behavior in a cron script

I have an nfs device that creates checkpoint (backups) everyday. I want to use Rsync to copy these checkpoints to another device (Drobo connected via iSCSI). So I've run the script on a single nfs ...
0
votes
1answer
837 views

rsync to check/compare server1:/data/archive/ to server2:/data/archive/ and have the files synced to another destination such as server2:/data/?

This has been tearing my hair out. I need to: compare server1:/data/archive/ to server2:/data/archive/ (through rsync, ssh, etc) filenames that don't match, get copied (scp) to server2:/data/ ...
1
vote
3answers
12k views

Paswordless Rsync Over SSH Without Key Authentication [Un-Safe]

I want to set up an RSync job that would connect through SSH. I have my computer ( backup@myhost ) and the remote host ( test@remhost ) and I need to backup the folder ~/something with all it's ...
6
votes
3answers
776 views

directory name with space and bash

I'd like to exclude the directories "temp" and "Ubuntu One/" from backup. What is the correct escaping of the space???? RSYNCCONF="--delete --exclude=.* --exclude=temp/" Thanks in advance! Chris ...
2
votes
4answers
4k views

Script for an incremental file system backup

I'd like to run the following incomplete script weekly in as a cron job to backup my home directory to an external drive mounted as /mnt/backups #!/bin/bash # TIMEDATE=$(date +%b-%d-%Y-%k:%M) ...