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

learn more… | top users | synonyms

1
vote
1answer
159 views

Rsync between 2 servers with different OS versions

I is it possible to Rsync data between two servers running Ubuntu 10.04.4 LTS and Ubuntu 10.04 LTS? Or they have to be of the exact operating system like Ubuntu 10.04 LTS for both of them.
0
votes
1answer
770 views

lsyncd - Sync immediately when source is shared folder

I have a Ubuntu 12.10 guest that is running in VMware Workstation on a Windows 7 host. I have created a shared folder so that Ubuntu can see a folder that lives on my Windows 7 host. I then set it up ...
6
votes
1answer
501 views

How to set up an rsync backup to Ubuntu securely?

I have been following various other tutorials and blog posts on setting up a Ubuntu machine as a backup "server" (I'll call it a server, but it's just running Ubuntu desktop) that I push new files to ...
1
vote
1answer
454 views

How to exclude files like 'unitydashlegalseen' from syncing in Grsync?

I have been backing up my home folder with Grsync for several years now. With the introduction of the legal confirmation in the Unity Dash (12.10) I am getting a file called 'unitydashlegalseen' in ...
1
vote
0answers
34 views

Rsyncing from a SATA to a raid 1array

I configured raid 1 for SAS drives using an adaptec 6405E controller. I want to copy data from a SATA drive to my SAS raid array but df -h does not show the array, it only picks the SATA drive. How ...
2
votes
0answers
1k views

rsync: link_stat <PATH> failed: No such file or directory (2)

working with RSYNC on a command line project to sync my phone with my music folder based on a number of... options. Not sure why it's failing, but here goes: The command: sudo rsync -arvRn ...
1
vote
1answer
855 views

Bootable backup (clone)

I keep a backup of my settings and files using: sudo rsync --verbose --recursive --links --perms / /media/backup/ Is it possible to use rsync (or other bash options) to make a bootable backup of ...
1
vote
1answer
807 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 ...
2
votes
2answers
405 views

Mirroring two files: rsync vs cp

I'd like to have a copy of my .emacs file in my Dropbox folder but I'd also like to have this copy in an automatic way, I mean every time I change my .emacs in the home directory I want it to be ...
2
votes
0answers
72 views

How can I synchronize all PDFs from one directory with Dropbox?

I want to synchronize all the PDFs from one directory (my Zotero library) to Dropbox. Finally, I want to have a list of all the PDFs, not the directory names. I successfully synchronized all my PDFs ...
2
votes
2answers
416 views

How to copy files from a remote computer?

I have set up a new pc, and I want to copy data from my old pc to it, without having to manually copy everything to an external drive. I guess I could do something with rsync over ssh, but have no ...
4
votes
1answer
152 views

How can I make rsync to switch to another harddrive automatically if space on the first one is full?

My problem is, how can I make rsync to switch to another harddrive automatically if space on the first one is full? Is there a simple way? Or even a way without using rsync?
1
vote
0answers
253 views

How to rsync a chroot without breaking symlinks? [closed]

I'd like to rsync (backup) a chroot environment from outside the chroot. For that I first make a lvm snapshot of the chroot volume and then run rsync on that. The only problem with this approach: ...
1
vote
4answers
424 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
129 views

Rsync takes more space than source

This is my cron task for rsync 00 03 * * * /usr/bin/rsync --delete -aAXv /* /media/mirror --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/home/*/.gvfs} && ...
3
votes
1answer
513 views

What are the advantages and disadventages of git or bzr + rsync vs rdiff-backup?

I used to use rsync to do backups, but then I switched to rdiff-backup to incremental backups. Recently, I discovered git and bzr while working on a coding project. So, I was thinking, I could have ...
-2
votes
1answer
264 views

rsync password problem

I have a python script. In that, I am using rsync for data transfer between two systems. While running, it ask for password for data transfer. So that I create a password-less run by the below ...
1
vote
2answers
472 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 ...
1
vote
2answers
2k views

Why do I get rsync error 20 when trying to customize Ubuntu?

when trying to customize my ubuntu desktop live iso i'm coming across an rsync error in the first stages of the tutorial. when I execute: sudo rsync --exclude=/casper/filesystem.squashfs -a mnt/ ...
0
votes
2answers
866 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 ...
-1
votes
2answers
4k 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
214 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
133 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
4
votes
2answers
716 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 ...
1
vote
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
148 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 ...
3
votes
2answers
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
654 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
269 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 ...
2
votes
1answer
6k 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
417 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
985 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
3answers
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 ...
2
votes
0answers
286 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
697 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/ ...
0
votes
2answers
9k 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
353 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
653 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
2k 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
184 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
4k 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
3k 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
2k 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 ...
5
votes
1answer
1k 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
723 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
402 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
4k 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
472 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 ...