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

learn more… | top users | synonyms

1
vote
2answers
6k views

Any way of maintaining permissions when using NTFS mounted drive in Ubuntu?

In my web development work, I use Ubuntu almost exclusively. But there are occasions where I need to boot up Windows -- to check a layout in IE, to reslice a comp in Photoshop -- and I want to be able ...
7
votes
4answers
4k 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 ...
0
votes
1answer
286 views

How to read the password from variable?

I am trying to move my file to another system which is located in some other place, with this command: rsync -avrz src destination It works fine. But what I need is to put this command in shell ...
13
votes
1answer
4k views

What happens if rsnapshot / rdiff-backup gets interrupted in the middle of a transfer?

Question says it all: What happens if rsnapshot or rdiff-backup gets interrupted in the middle of a transfer? I know that rsnapshot tries to make a complete snapshot of your system in rotating ...
5
votes
1answer
8k views

rsync between two computers on LAN

I want to rsync between two computers on my LAN with IP-adresses 192.168.20.9 and 192.168.20.10 both running Ubuntu 10.10. I want to try rsync and ssh service between the two computers.
2
votes
2answers
91 views

backup your home directory with rsync and skip useless folders

You can easyly backup your home folder on an external harddrive with $USER=`whoami` rsync -a --exclude=.cache --progress /home/$USER /media/linuxbackup/home/$USER I excluded the .cache folder cause ...
11
votes
1answer
22k 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
vote
1answer
2k views

How to backup user files automatically via rsync?

I need to take incremental backup of users files which is located in the following location automatically using a cron job. Could anyone explain the procedure to take backup using rsync in detail pls? ...
0
votes
2answers
6k views

How do rsync from within a python script? [closed]

I plan to move file from one system to another system. For this, I am using rsync command in linux terminal. It works fine. But I need to implement this command to python. I am very new in python, so ...
9
votes
6answers
2k views

Clone system and auto replicate the changes

Is it possible to clone an Ubuntu system and if any changes are made to original system, those should be replicated to the one cloned? I need to have backup support if original one gets down. In my ...
8
votes
4answers
2k views

How can I substitute colons when I rsync on a USB key?

I would like to backup my mail directory on a USB key. However, my IMAP has a strange naming convention that something include a colon (:) character. Since the USB is in a window format, rsync fail ...
2
votes
3answers
13k 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 ...
5
votes
3answers
1k views

Why is this rsync + ssh cron job giving me 'Permission denied (publickey)' errors?

I make frequent backups to a local drive which I want to sync daily to a remote server. The target server is configured for SSH key (no password) access only. Since my primary SSH key for that server ...
4
votes
2answers
837 views

What can I do about rsync of large files killing my laptop's wifi connection

When I run a rsync to backup my home folder over the network like so: rsync -avhz --progress --delete /home/dbdean/ david@tv.local:/home/backups/david/ I seem to have problems with my quite large ...
2
votes
1answer
4k 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.
1
vote
1answer
227 views

Rsync between Ubuntu and Mac: how to get the iconv option to work

I usually backup between two Ubuntu machines, but I now want to use rsync to backup my Ubuntu server with a disk residing on a Mac. But I do not get it to work properly. The first time all is well, ...
2
votes
2answers
905 views

rsyncing /home between 10.04 and 11.04

My co-worker has an old laptop with Ubuntu 10.04 installed on it. About a week ago I backed up her /home directory using rsync, and kept it on an external HD. Now, she got a new laptop with Ubuntu ...
1
vote
1answer
301 views

Rsync with special character files not working between Mac and Linux

I want to use rsync to backup my Ubuntu server with a disk residing on a Mac. But I do not get it to work properly, since every time I re-run the rsync operation after the initial time, the files with ...
1
vote
1answer
217 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 ...
1
vote
1answer
615 views

Simple rsync incremental backup that timestamps deleted files

I use rsync as follows: rsync -a --backup --suffix="."$(date +"%Y%m%d%H%M") source backups to dump the whole of folder source into the folder backups, with the additional feature that if I ...
1
vote
2answers
247 views

Migrating the / volume?

After a hardware failure of the motherboard and subsequently a few disks, I am migrating the root partition over to another drive. However, given /dev and other peculiar locations I was wondering ...
1
vote
1answer
965 views

How to synchronize a local folder with a remote?

I want to upload a batch of files to my server periodically preserving the originals only in the server, that is: If I delete the local folder, files are not ereased from the server. If local files ...
1
vote
2answers
575 views

If I create or modify any file or directory with sudo then I can only manipulate it with sudo

The general issue is that if I create or modify any file or directory with sudo then it seems that I'm unable to create and modify this file or directory further as any other user than sudo. The rest ...
0
votes
1answer
124 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 ...