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

learn more… | top users | synonyms

2
votes
0answers
2k 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
1k 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
966 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
467 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
86 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
495 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
197 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
300 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
534 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
3answers
201 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
595 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
346 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
576 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
3k 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
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
287 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
158 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
166 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 ...
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 ...
1
vote
2answers
848 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
283 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 ...
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.
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
481 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 ...
1
vote
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
348 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
891 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/ ...
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 ...
1
vote
1answer
394 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
721 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
235 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
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 ...
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
993 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
522 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
596 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
296 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
526 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
794 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
840 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 ...