a utility used to sychronise files between locations (possibly over a network)

learn more… | top users | synonyms

8
votes
1answer
11k views

How to exclude a folder from rsync

I am trying to backup my home folder on my NAS drive. I am giving this: rsync -Paz --exclude-from 'rsync-exclude.txt' /home/chris/ admin@192.168.1.65:LinuxHome where rsync-exclude.txt has this ...
-1
votes
1answer
38 views

rsnapshot bug with 14.04 - rsync not found error

Using rsnapshot with the +rsync_long_args=--rsync-path="sudo rsync" command fails with a rsync not found error. If I do a rsync only without using rsnapshot the command works find so it's not related ...
12
votes
2answers
2k views

Customizing Ubuntu to run from RAM only, within GRUB options

I'm interested in exactly this up, now let me explain what would like to do with this. I'm preparing to buy 32GB of RAM and already have Quad Core. My idea is to implement another option in GRUB that ...
2
votes
1answer
20 views

How to automatically copy pictures with resizing to some directory?

I'd like to share some pictures with someone using Dropbox. However, I'd prefer to downgrade the resolution of them (they will only be viewed on screen on the other side, so there's no need for big ...
2
votes
1answer
3k views

How to use rsync via ssh with rsa key passphrases?

How can I use rsync with passphrases? All googled "solutions" i found use passphrase-less keys which seems no real option. i am runnning 2 ubuntu servers 12.04.2 LTS.
0
votes
1answer
12 views

Partial (specific releases) mirror of Ubuntu Archive via rsync only

I'm looking to build a Ubuntu repository archive for both i386/x64 architectures on 12.04 (precise). This is to bring in to a facility where I am working with no Internet connection. Circumstances ...
0
votes
1answer
17 views

Full Rackspace cloud server backup to local

I want to rsync my entire Rackspace cloud server disk to a local drive. The command I am currently using is: rsync --dry-run --archive --xattrs --compress --partial --progress ...
3
votes
1answer
826 views

How to restore filesystem-backup made by rsync?

Running version 12.04, with Virtualmin/Webmin. I tried to remove all unnecessary linux-image files today, since the /boot partition was full. I followed a guide from Ask Ubuntu, but that resulted in ...
-1
votes
0answers
17 views

HP laptop stuck on mysterious screen after supposed “complete installation”

Ok, so I just managed to load Ubuntu, 32-bit, from a DVD, onto my laptop - an HP Pavilion dv2000 from somewhere around 2007-09. I made it completely replace Windows Vista, and I agreed to download the ...
0
votes
1answer
26 views

Configure rsnapshot to keep initial(first) backup forever?

How could I tell rsnapshot to keep the initial (ie., the very first backup) backup of my server forever, incase I may need it in some rare time (like for some files in /etc directory ) ?
3
votes
3answers
93 views

Syncing dm-crypted drives?

I have 2 usb sticks, 8GB each: usb1 = /dev/sdb usb2 = /dev/sdc usb1 is a full dm-crypted drive and I am currently using usb2 as a backup, just incase usb1 fails. I am cloning usb1 to usb2 using ...
0
votes
2answers
23 views

rsync exclude hidden files doesnt work!

I’ve searched all over the internet and everybody suggests the same thing - that adding --exclude=´.*´ should exclude hidden files and folders from an rsync. It doesn’t. I´ve also tried adding a ...
2
votes
1answer
24 views

How to unsync two folders?

I have Ubuntu One and Dropbox folders synced. Now when Ubuntu One is shutting down, I want to delete U1 folder so it does not use space unnecessary. The problem is that if I delete U1 folder, Dropbox ...
0
votes
1answer
64 views

How do I make rsync delete files that have been deleted from the source folder?

I recently set up a machine with Ubuntu Server to host game servers. I installed a backup plugin for each game server that creates frequent backups of game world files in a particular folder on the ...
0
votes
0answers
29 views

Copied File is Mutated

This problem has occurred three times--twice with me and once with a co-worker. I cannot reproduce to problem as it seems random. My co-worker copied a large (400 MB) file from OSX to an Ubuntu ...
7
votes
2answers
12k views

How to exclude multiple directories with rsync?

I am trying to backup my home directory using rsync, and I want to exclude some of the directories that contain junk. I want to specifically exclude /home/ben/.ccache and /home/ben/build. ...
0
votes
0answers
69 views

sudo not working after rsync - unable to open /etc/sudoers: Permission denied

Bought a new drive. Formatted to ext4, mounted the partition and ran sudo rsync -aAX --delete /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found} This moved all my ...
1
vote
1answer
111 views

Rsync - memory usage

I am running on Xubuntu 14.04 and experiencing high memory usage of rsync. With a fresh start, the system is OK. I have rsync running in a cronjob, after/during rsync memory usage increases and stays ...
11
votes
4answers
940 views

Can someone explain this rsync command for me?

Can anybody tell me what this does? rsync -uva --delete /srv/bkp01 /srv/offbk2/ > ~/offbkp01.log Does it delete bkp01 and offbk2 and sends a log to offbkp01.log?
1
vote
2answers
78 views

Start the Rsync daemon to synchronize a directory between two servers

I want to synchronize a directory on the server A to a server B. On the server A I created a file rsyncd.conf with the content: uid = rsync gid = rsync use chroot = no ...
0
votes
4answers
2k views

Increase verbosity of running rsync process?

I'm running 'rsync -a -i /foo /bar'. Every now and then I would like to know what exactly rsync is doing at the moment without having the -v output all the time. Is it possible to increase the ...
1
vote
4answers
466 views

Directory mirroring over network

I need a software or any other way to backup my home directory instantly so that if my data is lost I have another copy over the network. I have a NAS on my local network and I want to have an exact ...
0
votes
1answer
23 views

What is the -D switch in rsync?

What is the -D switch in rsync? Okay manpage says -D same as --devices --specials -g, --group preserve group --devices preserve device files ...
5
votes
4answers
6k views

Using rsync with exclude/include

I'm running 2 ubuntu 9.10 servers. I have to synchronize the changes between these two machines. The following are the directories I've to synchronize: /usr, /etc, /var, /bin, /sbin, /lib I'm using ...
1
vote
1answer
67 views

Track file and folder name changes

I'm successfully running a remote backup of a small server over the internet using rsync. However, the process can be lengthy if the following happens. Let's say a large directory has had its name ...
3
votes
2answers
11k views

How to exclude files in rsync?

I'm using ubuntu server 12.04, now I want to backup some files using rsync, here is a try: rsync -aAX $HOME/Documents/* $HOME/Backups/TEST --exclude={$HOME/Documents/another/*,$HOME/Documents/temp/*} ...
0
votes
3answers
11k 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 ...
2
votes
1answer
52 views

How to get a timestamp on rsync output

I have an hourly crontab job @hourly rsync -avc --delete /DirA/ /DirB/ > /home/job.txt However when I check the logbook I see no timestamps. How can I get timestamps in the log so that I can be ...
2
votes
0answers
567 views

How to upload a file to google drive?

I would like to just upload files to google drive from the command line. I don't care about synchronisation. I just want to upload things to google drive and if they exist they get replaced if not ...
0
votes
1answer
55 views

can't log into ubuntu after rsync restore of home folder

I have recently reinstalled ubuntu/lubuntu 14.04 onto my wife's Packard Bell Dot S netbook after an unsuccessful upgrade from 12.04. I followed this by restoring the home directory from a backup using ...
0
votes
0answers
96 views

Incremental Backups using DejaDup to Cloud like Dropbox, Gdrive on 14.04

I'd like to have an incremental backup of a synced folder into a cloud service using DejaDup. The same thing I used to do with UbuntuOne that now is no more available. I'd like to use free cloud ...
0
votes
0answers
14 views

Cannot scp/rsync into live cd [duplicate]

I'm trying to scp into a box running 12.04 32bit livecd. The machines are connected to same switch & can ping each other just fine. I use the usual args, eg- scp -rp ...
8
votes
3answers
4k views

Should I enable root account for rsync?

How can I enable the root account? I know it is not usually recommended but I'd like to setup a non-interactive script to backup my server using rsync. I could use --rsync-path="sudo rsync" but then I ...
0
votes
1answer
77 views

HDD failure recovery: Déjà Dup vs rsync

I want my data to be prepared as much as possible for a hardware failure (especially HDD crash). I've already "lost" in the past 2 HDDs, so I know the frustration that comes with it. I am already ...
1
vote
1answer
803 views

How to make rsync run automatically when a new file or directory is added?

I decided to use rsync for backing up my downloaded torrents from my home-server to my laptop. I read the whole manual, but I didn't find a way to sync files automatically when a new file or directory ...
10
votes
3answers
1k views

Using tar and rsync for high availability

I have Ubuntu cloud servers running which I don't have direct access to but with ssh. I'm using 'tar' to clone or to have high availability of this server. I followed the tutorial from the link [link ...
1
vote
1answer
48 views

Failover Solution

Lets say I have a server that runs a program that runs some application. I saw there is a solution called pacemaker or high availibility. Is there a way to make it so the second server has the same ...
0
votes
1answer
88 views

Backup and Disaster recovery moving from Windows XP

I have recently migrated from Windows XP to Ubuntu 12.04 LTS and am trying to understand how to reproduce the functionality I used in Windows for backups, and if possible improve it. I used to run ...
0
votes
1answer
35 views

using rsync between 2 ubuntu servers having a folder with SPACE in the name, how to make it work?

I used rsync alot, but never found out how to copy a folder which had a space in the name. like this : sudo rsync -rv myuseraccount@192.168.xxx.xx:/data/svn/my folder /data/svn/ i tried already ...
2
votes
1answer
32 views

rsync creating target directory with old date

I have a script that automates backups - hourly snapshots of my xubuntu 12.04LTS workstation. It creates a directory named according to the date and time, ie: 20140316-1033, representing 10:33 this ...
0
votes
1answer
20 views

What happens if a file listed for backup with rsync is in use?

I have a cron job to rsync certain files from my home folder every hour. Would anything bad happen if a file scheduled to be backed up is being edited at the time of backup? Right now, I am avoiding ...
0
votes
0answers
84 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 ...
2
votes
1answer
49 views

rsync isn't creating files or folders

I'm still relatively new to Ubuntu and Linux. I've got a windows machine with a DAS. I've got about 5TB of data on it, and I want to use my server running 12.04 to back it up daily / weekly. I've ...
0
votes
1answer
115 views

rsync two existing directories copying everything

I have two file servers in two locations. Currently both have the same data, which generally is unmodified (used for read only access).When the second server was set up (the one I'm sshing to) the ...
0
votes
1answer
267 views

How to use 'rsync' to copy ubuntu system to another disk?

I use LiveCD and rsync -av to copy ubuntu system to another disk(same machine). What needs to be revised? UUID in boot.cfg. UUID in fstab. Anything else? Do I need to revise 'initramfs'? ...
9
votes
3answers
24k views

Backup files with rsync: error 23

I'm trying to make a backup of my /home to transfer all data from one computer to another. I wanted to save the backup on the same computer and than transfere it to another one. For safety reasons, ...
0
votes
1answer
124 views

Remote backup with a file by file encryption?

I want to do remote backups over Internet (so limited bandwidth) from an Ubuntu server to a iMac machine (POSIX compliant) supporting both ssh and rsync. I do have sudo rights on both machines. The ...
2
votes
1answer
38 views

Check when folder was last synchronized with rsync

I'm using a cron job to backup a folder to another computer. I'm not sure whether or not it succeeded and /var/log/rsync.log is only showing errors, all of which occured before the scheduled backup. ...
0
votes
2answers
30 views

Moving from SVN to GIT , best way to copy full repos?

We are changing from SVN to GIT, and I wonder which is the best way to copy the files from one to another server. For that I would use rsync but I need to know if I can first copy the files and than ...
1
vote
1answer
328 views

I need to sync my Postfix config to a second server and have Postfix reload when changes are made

I'd like to start out saying that I know enough Linux commands to be dangerous :-) With that warning out of the way, here is what I am trying to figure out how to handle. Currently I have a single ...