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

learn more… | top users | synonyms

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
1answer
463 views

ssh'ing into my ubuntu machine from another computer on the same wi-fi access point

I would like to copy some large files (photos & video from a vacation) from a mac to an ubuntu machine, over the home wi-fi router that they're both connected to. I've got sshd set up on the ...
2
votes
1answer
1k views

How to rsync a folder when the folder path contains special chars?

I would like to rsync a folder but have some problems doing so due to the fact that the folder's path contains some special chars. My rsync command uses to look like this: rsync -Pavzbe ssh ...
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 ...
2
votes
0answers
318 views

Backup on shutdown [closed]

I am developing a system that runs an rsync every 15 min using cron. It rsync's the users directory to a local backup on another device. I'd like to also run the rsync on shutdown or reboot. How do ...
0
votes
1answer
839 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 ...
1
vote
1answer
379 views

Rsync permission issues via SSH

I am backing up a networked server via SSH. Unfortunately, I can't seem to figure out how to get root access to the networked server with Rsync. I am using the following command to perform the backup: ...
0
votes
1answer
704 views

Permission denied for many directories with Rsync

I'm using Rsync to backup an Ubuntu Server server. I'm getting a lot of permission denied messages. Is there a command I can use to see exactly what directories were denied? I could scroll back up ...
2
votes
1answer
3k views

rsync between two directories

Currently I use rsync -avh --stats --progress dir1(source)say dir2(destination) ... say I have 10 files in dir1 and I have copied using the above command to dir2 all 10 files. Say now I have ...
0
votes
1answer
219 views

How to verify if an uploaded file was uploaded correctly

I have uploaded an ISO file to my server via rsync. How can I verify it is correct (Not corrupted or something). This is just in case rsync had an problem.
1
vote
2answers
5k 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 ...
5
votes
1answer
5k views

rsync not actually copying files

I'm trying to synchronize a large directory of files from my server to a local box. (Both are running Ubuntu.) I have a command that looks like it works, but certain files are not copied: ...
0
votes
2answers
3k views

rsync verify a file already exists in dest folder so it will skip the copy on the 1st sync

I have been looking at different tutorials about rsync about some specific situation I have. I have a home server with all my pics, this server is my backup, my PC is the one that receives the new ...
6
votes
1answer
2k views

How to make NFS mounts available while offline?

Problem: I work on a notebook and while at work I have access to many NFS mounted drives. When I get home they are obviously not available. Windows 7 solution: My business partner uses Windows 7 ...
1
vote
1answer
896 views

Problem with gadmin-rsync and cron(d)

I'm trying to get the Schedule for GADMIN-RSYNC working on Ubuntu 11.10. When I try to save Schedule options, I get an information window which states: Error: The time schedule server "cron(d)" ...
6
votes
2answers
2k views

Switch to using rdiff-backup for backups of / instead of rsync?

I usually use rsync to do backups, with a command like this: rsync -avxz -e "ssh" --exclude ".gvfs" --numeric-ids / /media/Backup/slash/ How can I convert the arguments I use with rysnc to ...
3
votes
2answers
485 views

How to exclude previously deleted files from a new rsync copy?

Extending on this question: Automatically sync a folder to a USB when USB is plugged in? I do not want an automatic script but just a small bash script to do the following: Copy current ...
4
votes
3answers
5k views

Backing up files from specific folders in rsync

How can I specify specific files to include/exclude in grsync/rsync? Currently, I use different operations to backup files from only specified folders. I want to do it now in 1 pass. I think I ...
3
votes
1answer
548 views

Automatically rsync when hotplugging a sata drive(bay not esata)

to keep up on my backups I want to run a specific rsync command when I insert a specific sata hard drive(s) into any or all of my hotswap bays. Would this be done using uuids somehow to keep track of ...
11
votes
1answer
3k views

“rsync” from remote to local

Let say that I have 2 machines: local (centos) remote on IP: 123.123.123.123 ssh port 456 (ubuntu server) and I want to synchronize my remote folder /home/wolfy/py with my local folder ...
1
vote
0answers
290 views

Dropbox style syncing of large folders? [closed]

I've researched this quite a bit in the past and have never found a solution that meets my needs perfectly, so I thought I'd throw it out to this community. I have a file server at home that I use to ...
3
votes
1answer
515 views

Fast and reliable way to move directories from one HDD to another

I'm looking for a fast and reliable way to move some chosen directories from one HDD to another. The case is as follows. I'm getting a new desktop system which will replace my old desktop. I want to ...
6
votes
3answers
779 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 ...
4
votes
2answers
790 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
2answers
869 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
2answers
1k views

Possible to preview what will rsync do, before overwriting/deleting files?

With SyncToy on Windows, I can preview what it will do to my files before commiting the changes. Is it possible to do the same with rsync or something similar?
1
vote
5answers
9k views

How do I back up via FTP and rsync?

I am new to these backup things. I have try Backuppc and rsnashot. Backuppc was cool, with web frontend. My probleam: I don't have any backup servers I just have server and ftp-disk. I wanted to ...
7
votes
2answers
12k views

Forceably set permissions when running rsync

Currently I am backing up gigabytes and gigabytes of data from a live server to a backup server using an rsync/ssh combination script, allowing for automated operation every night with a cron job. ...
9
votes
3answers
26k 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, ...
6
votes
3answers
3k views

How to speed up rsync/tar of large Maildir?

I have a very large Maildir I am copying to a new machine (over 100BASE-T) with rsync. The progress is slow. VERY SLOW. Like 1 MB/s slow. I think this is because it is a lot of small files that ...
10
votes
1answer
3k views

Will backup using rsync preserve ACLs?

I am using backuppc to backup my server. The backups are done using rsyncd. Currently, I am not using ACLs, but I am think it is good to activate it to have finer control over permissions. My ...
0
votes
1answer
1k views

Why is my network disconnecting when I use scp or rsync? [closed]

I have a wired network connection from my Ubuntu (10.10) PC (call it PC-A) to a Netgear MR314 router and from there to a Thompson TG585v7 ADSL modem. The only devices connected (by ethernet cable) to ...
6
votes
3answers
663 views

How come rsync copies files faster than Krusader?

I am trying to copy a .tar.gz file from a remote host. If I mount that host using Krusader and copy it takes a lot of time. However, if I use rsync, it is about 5-6 times faster. How come? Is there a ...
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) ...
9
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 ...
3
votes
1answer
558 views

Problems trying to move my /home partition

I was running low in disk space on my Linux box, Ubuntu 10.10 Desktop, (specifically on my /home partition) so I added another disk to it and I am trying to move the home partition into it. I am ...
6
votes
1answer
2k views

How can I sync my home folder “both ways” using rsync

I would like to sync my home folder using a server with ssh, is it possible to do it with rsync? I need to be able to sync it between a few computers. Thanks for your help
6
votes
4answers
891 views

When is it appropriate to use `dump` vs `rsync`?

When is it appropriate to use dump vs rsync for backups?
4
votes
3answers
1k views

How can I exclude all the svn metadata while synchronizing with unison?

How can I exclude all the svn metadata while synchronizing with unison? So that all subfiles/folders are also ignored! Thank you for you help
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 ...
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 ...
2
votes
1answer
326 views

Why is rsync recopying a lot of file when I sync to an USB key?

When I do an rsync to USB key using -t, it still copy a lot of file. Why?
8
votes
4answers
1k 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 ...
1
vote
0answers
17 views

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

Possible Duplicate: What happens if rsnapshot / rdiff-backup gets interrupted in the middle of a transfer? What happens if rsnapshot or rdiff-backup gets interrupted in the middle of a ...
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 ...
12
votes
1answer
3k 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 ...
4
votes
1answer
2k views

How to rdiff-backup / rsnapshot / backupninja from LOCAL to REMOTE machine?

I'm a bit confused about doing backups with rsync/rdiff-backup / rsnapshot via SSH. I've been looking at utilities such as backupninja and rsnapshot. These are rsync / rdiff based backup systems, ...