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

learn more… | top users | synonyms

2
votes
1answer
963 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
0answers
11 views

Mirroring 12.04 vps server to another vps server

I'm a new Linux user so I'll need a hand in this. I have a 12.04 server that I want a mirror image of on another vps. I was reading a bit on rsync but I am unsure of the command to put in to copy ...
0
votes
2answers
24 views

Crontab command does not function properly

I have the following crontab entry to automate copying of my files to separate W/S in the network. However, it does not copy the files but produce the log file. here is the file contents #! ...
2
votes
2answers
48 views

Is there any GUI application for command rsync?

I am currently synchronize between local folders in my computer by following command: rsync -av --delete "[source]" "[destination]" Now I want to do this via GUI. so, Is there any GUI available for ...
0
votes
1answer
14 views

Remote rsnapshot failing with “Permission denied” error

I'm trying to set up remote backups with rsnapshot from my home server. I want my server to connect into my laptop and take backups over SSH.Everything is set up correctly and I can connect from my ...
1
vote
2answers
777 views

rsync copies files from working directory in addition to the requested ones

The following is a snip of output from bash -vx on my backup script \+ rsync '' -avushi --stats --progress --log-file=/home/bigbird/temp/rlog/rlog1.txt /media/dataspace/data/webcasts/ ...
8
votes
2answers
15k 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. ...
3
votes
3answers
109 views

How do I move thousands of files from a list?

So, I have a list of files in a text file. I believe it's about 100,000 files. The files in said list are spread across many directories, have different sizes, filenames, extensions, ages, etc. I am ...
1
vote
1answer
48 views

Copy data held by www-data over ssh

I have an apache server (machine #1) holding a database which I want to rsync distantly (the server is actually owncloud, for those who know). My data is maintained by the server and its rights are ...
2
votes
0answers
36 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. ...
5
votes
3answers
3k views

rsync not working between NTFS/FAT and EXT

I have music that I play in my car, from an FAT32 USB stick. The folder which I use to put songs on is stored on my EXT4 hard drive. I add/remove/retag songs regularly and occassionally want to ...
1
vote
1answer
27 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 ...
1
vote
2answers
54 views

Automating rsync commands

I currently have too many rsync commands that I run on a day to day basis. Could someone be kind enough to let me know how I can automate these commands? I am new to Linux so a little bit of ...
0
votes
1answer
36 views

How can I configure a second SSH key + user for a single server?

I have a SSH key which is passphrase-protected. Authentication to the server is by SSH key only, password authentication is disabled. Both the server and my desktop run Ubuntu 14.04 and authentication ...
9
votes
1answer
13k 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
64 views

rsnapshot bug with 14.04 - rsync not found error [closed]

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
3k 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
24 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
21 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
21 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
850 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 ...
0
votes
1answer
32 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
100 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
67 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
31 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
177 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 ...
0
votes
0answers
103 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
178 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
970 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
190 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
3k 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
479 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
28 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
80 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
12k 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/*} ...
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 ...
2
votes
1answer
63 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 ...
0
votes
1answer
68 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
117 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
97 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
897 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
51 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
99 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
40 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 ...