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

learn more… | top users | synonyms

0
votes
2answers
1k views

rsync problems and security concerns

Hi I am attempting to use rsync to copy files between two linux servers. both on 10.04.4 I have set up the ssh and a script running under a cron job. this is the message i get back from the cron ...
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 ...
0
votes
1answer
275 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 ...
0
votes
1answer
155 views

How can I copy, recursive directory, only files with a attribute 1, and reset this a attribute to 0?

How can I copy, recursive directory, only files with a attribute 1, and reset this a attribute to 0? Thanks, Francisco
5
votes
2answers
2k views

How can I copy a file to a new location, creating the directory as well

I want to cp a file to another directory but that directory doesn't exist yet. So I would do: mkdir /new_place cp the_file /new_place Can I do this in one? I imagine something like cp the_file -m ...
2
votes
1answer
1k views

Rsync - GVFS - Questions

I've noticed some issues with rsync and .gvfs over the years. Typically I just --exclude=.gvfs in my rsync command and call it a day. Recently I decided to read the rsync man page top to bottom left ...
2
votes
1answer
164 views

How do I copy a specific number of directories with rsync?

I have a folder say /media/Movies/English/ numbers of folders, there is say 500 folder Now I want to copy only 50 folders, not in alphabetical order but in random ... How to do perform this task ...
6
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 ...
1
vote
2answers
814 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/ ...
1
vote
1answer
280 views

How to backup a windows share to another windows share using rsync?

I have two windows shares mounted and I would like to be able to backup the first into the second. The shares are found on a windows server 2003 machine. I was able to copy one folder to another ...
3
votes
1answer
7k 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.
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
471 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
325 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
863 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
382 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
710 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
227 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
924 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
498 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
572 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
292 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
516 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
785 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
807 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
879 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
13k 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. ...
10
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
669 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
560 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
907 views

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

When is it appropriate to use dump vs rsync for backups?