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

learn more… | top users | synonyms

0
votes
1answer
312 views

How to rsync between home computer and computer inside another network?

All the computers I use run Ubuntu. To work from home, I SSH from my home computer to my lab computer as follows: # First a port knock is needed joe@homepc> telnet ssh.university.edu 9000 # Next ...
1
vote
1answer
808 views

rsync: Connection timed out

I am not able to list drectories through rsync: from Host2: user@host2#sudo rsync user@host1::share rsync: failed to connect to host1: Connection timed out (110) rsync error: error in socket IO ...
0
votes
1answer
989 views

rsync how do I sync only existing target files

I'd like to know how I can sync only existing files and directories in the target directory. For example, if I have in the source a\, b\ , b.txt, a.txt and in the target a\, a.txt Then I would ...
12
votes
2answers
3k views

Customizing Ubuntu to run from RAM only, within GRUB options

I'm interested in exactly this up, now let me explain what would like to do with this. I'm preparing to buy 32GB of RAM and already have Quad Core. My idea is to implement another option in GRUB that ...
0
votes
1answer
833 views

connect to windows share automatically and rsync

I have a Western Digital connected to my router at 192.168.1.65 statically. How can I automatically connect at login and rsync? At the moment I am using this command that doesn't work. rsync -Paz ...
1
vote
0answers
233 views

Backup to remote win machine

I have to backup my data to a remote machine. The local machine run ubuntu 10.04 and the remote machine run winXP. Googling I found several discussion about this argument but none of them helps me to ...
0
votes
1answer
258 views

rsync remove old backup on remote PC

Good day I use this script to backup my home PC to remote PC #!/bin/bash #Todays date in ISO-8601 format: DAY0=`date -I` #Yesterdays date in ISO-8601 format: DAY1=`date -I -d "1 day ago"` #The ...
1
vote
1answer
874 views

How to make rsync run automatically when a new file or directory is added?

I decided to use rsync for backing up my downloaded torrents from my home-server to my laptop. I read the whole manual, but I didn't find a way to sync files automatically when a new file or directory ...
1
vote
1answer
341 views

I need to sync my Postfix config to a second server and have Postfix reload when changes are made

I'd like to start out saying that I know enough Linux commands to be dangerous :-) With that warning out of the way, here is what I am trying to figure out how to handle. Currently I have a single ...
1
vote
2answers
88 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 ...
0
votes
1answer
2k views

rysnc errors, backup with deltacopy and Ubuntu

I have several windows machines that are using deltacopy and rysyc to back up via ssh to an ubuntu machine. Half of the backups will run, the other half will not. Here's an example of one of the ...
6
votes
0answers
71 views

Is there a way to download updates differentially rather than via .deb files? [duplicate]

Possible Duplicate: When will Ubuntu include delta updates? In the old days, you downloaded or installed packages from a CD, and then a year later you got the new version of your ...
2
votes
3answers
3k views

Where is my Android phone's mount point, so I can rsync it?

I would like to rsync my music with my Android phone (Galaxy Nexus), I'm trying to work out the mount path to use from the shell. The mount command doesn't show up on the phone. In Nautilus the ...
0
votes
1answer
138 views

Copy entire filesystem in a folder where a raid-1 array is mounted

I am trying to migrate from a single disk drive system to a double disk drive software raid-1 system that already has a running system on it. Meaning that formatting and having a new installation of ...
4
votes
2answers
2k views

Copying a Running Physical Server to Virtual Box

I have a server running Ubuntu 10.04. As I want to test some maintenance work, such as upgrading to 12.04, I thought I should create a VM copy of the server using Virtual Box. I don't have a physical ...
1
vote
0answers
234 views

Auto run command in linux

I am trying to automate backup with rsync to an external hard disk. What I want to do is to execute this command automatically when external hard disk is plugged. I do not want to run it when other ...
1
vote
1answer
185 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
939 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
541 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
605 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
37 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
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
883 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
424 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
78 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
460 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 ...
3
votes
1answer
174 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
270 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
474 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
153 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
551 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
305 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
521 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 ...
-1
votes
2answers
5k 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
256 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
144 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
1k 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
160 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 ...
5
votes
3answers
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
2answers
759 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
276 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
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
452 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 ...