General :: Back-up Many Different Sources (rsync)?
Mar 6, 2011
19:25 into this video has a question about back-ups:[URL].. it is basically asking how to save files from different sources (mac harddrive, windows harddrive, sd-card, cd's) and they want to ensure pictures from a digital camera dont get overwritten (there are multiple 001.jpg, 002.jpg, ... files -- maybe md5sum will help here).
i assume rsync would be good in this case but i am not sure what the syntax would be. i also assume that the rsync command is available for mac (i am more of an scp guy) but i have been proven wrong on assuming bash compatability between linux/ os-x before.
View 2 Replies
ADVERTISEMENT
Sep 15, 2010
I have cronjob that uses rsync to back up to a remote directory every hour. how do I set this rsync up so that if initial process is running already, it prevents running same rsync command and checks again in next hour until the process is finished/terminated?
View 5 Replies
View Related
May 20, 2011
I have an OpenBSD and a FreeBSD system and a mac. I also have a Linux server. What i would like to do is back up all these systems to an external hard-drive using rsync when the external usb disk is connected to my linux box.If i format the external usb disk with cfdisk and the create a non-bootable ext3 file system on this external disk and create and put all the necessary public keys on the Linux box then from the BSD's or the mac issue the command:
Code:
Will this back up the entire systems so that they can be restored in the event of an emergency? I should store each OS just in a separate disk file of the external usb drive each time right? Because i would rather not have to format the external usb drive for each different OS. Would this work? and would the restoration command for these BSD's be:
Code:
I just need to know the basics. I'm sure given that i'll be able to automate the process. I don't want to clone the disks for forensics. I just want to have a way of restoring to a clean OS. This is the most basic question:All the howto's never mention whether or not you have to have an rsync server running on the machine your backing up to. So do you just push or pull from one end of the connection only or do you have to have a client at one end and a server at the other, as is traditional?
View 1 Replies
View Related
Feb 17, 2010
I am using Ubuntu 9.10. I have added new PPA using a command, but this command got frozen. So I have closed terminal and reopen it.
Now I see "software sources" got corrupted. Please see attachments of System | Administration | Software Sources where all of the check-boxes are empty and and Other Software list is empty.
I have checked file /etc/apt/sources.list and there is the following text in it code...
Is there any way I can get this source list back?
View 4 Replies
View Related
Aug 28, 2009
I am installing a hp officejet pro 8500 all in one printer to knoppix 6.0.1. install hangs saying i need to disable cd sources in etc/apt/source.list. How do i do this?
View 1 Replies
View Related
May 20, 2011
I have an OpenBSD and a FreeBSD system and a mac. I also have a Ubuntu server. What i would like to do is back up all these systems to an external hard-drive using rsync when the external usb disk is connected to my Ubuntu box.If i format the external usb disk with cfdisk and the create a non-bootable ext3 file system on this external disk and create and put all the necessary public keys on the Linux box then from the BSD's or the mac issue the command:
Code: #rsync --progress -avhe ssh --delete / user@ubuntuBox:/usb/disk/path/dir/ Will this back up the entire systems so that they can be restored in the event of an emergency? I should store each OS just in a separate disk file of the external usb drive each time right?? Because i would rather not have to format the external usb drive for each different OS. Would this work? and would the restoration command for these BSD's be:
Code:
rsync -avze ssh UbuntuBox:/usb/disk/path / I just need to know the basics. I'm sure given that i'll be able to automate the process. I don't want to clone the disks for forensics. I just want to have a way of restoring to a clean OS. This is the most basic question:All the howto's never mention whether or not you have to have an rsync server running on the machine your backing up to. So do you just push or pull from one end of the connection only or do you have to have a client at one end and a server at the other, as is traditional?
View 3 Replies
View Related
May 16, 2011
I've got the following problem: I just noticed that there were just very few notifications about updating the system (usually there are damn many of them in a week) So I opened the update manager and clicked on "refresh list". The following result popped up: p,li{white-space:pre-wrap;}E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found First I thought, it would be just some kind of server problem, but it didn't stop. The next thing was to research the thread and I even found something. However, the solution suggested didn't work at all. (Things, which might have caused this: I installed the default software center |I'm using Kubuntu, but in this case that fact doesn't matter| and used it. To sum up:
- not able to update the system referring to the launchpad main sources for 11.04
- following error: E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found It would be great if this was a common issue and I've been simply too stupid to find a proper solution. So you could just post the link.
View 2 Replies
View Related
Apr 21, 2010
I am running Jolicloud on my netbook (which I believe is an Ubuntu derivative) and I am tried to enter the getdeb.net sources in so I can install apps from the website through APT but
1) When I entered the sources into sources.list and then the key into Terminal and then went to the site and tried to install an app it didn't work.
2) I deleted the line of code in the sources.list file and when I opened terminal and entered "sudo apt-get update" it showed the list of sources, but on the list were Getdeb.net sources.
My question is how do I delete sources that aren't in /etc/apt/sources.list ?
View 6 Replies
View Related
Nov 17, 2010
Thought I'd post it here because it's more server related than desktop... I have a script that does:
[Code]....
This is used to sync my local development snapshot with the live web server. There has to be a more compact way of doing this? Can I combine some of the rsyncs? Can I make the rsync set or keep the user and group affiliations? Can I exclude .* yet include .htaccess?
View 6 Replies
View Related
Jan 7, 2011
When I run rsync --recursive --times --perms --links --delete --exclude-from='Documents/exclude.txt' ./ /media/myusb/
where Documents/exclude.txt is
- /Downloads/
- /Desktop/books/
the files in those directories are still copied onto my USB.
And...
I used fetchmail to download all my gmail emails. When I run rsync -ar --exclude-from='/home/xtheunknown0/Documents/exclude.txt' ./ /media/myusb/ I get the first image at url.
View 9 Replies
View Related
Apr 12, 2011
I have a tiny shell script to rsync files between two servers and remove the source files.
This script works fine, when it has been initiated manually or even when the rsync command is executed on the command line.
But the same script doesn't work, when I try to automate it through crontab.
I am using 'abc' user to execute this rsync, instead of root, as root login to servers are restricted in all of our servers, by us.
As I mentioned earlier, manual execution works like charm!
When this rsync.sh is initiated through crontab, it runs the first command(chown abc.abc ...) perfectly without any issues. But the second line is not at all executed, and there is no log entry i can find at /mnt/xyz/folder/rsync.log.
View 6 Replies
View Related
Sep 18, 2009
I just tried to sync files from one server to another. After the sync process, I found the files are bigger than original ones.
I looked up the web and found someone mentions the rsync daemon. So I have to run the daemon on one server before I run the rsync?
The command I used is rsync --partial --progress -r source destination
View 1 Replies
View Related
Jul 21, 2010
use rsync to cp such files and dirs under /var/www/html/mydir directory but these two files(/dir4/1.html /dir4/2.html) cant rsync to dest mechine.
rsync configure file,below...
View 2 Replies
View Related
Dec 8, 2010
I'm using Ubuntu 10.04 LTS server and Postgresql 8.4. I have a .sh script that is run by cron every other hour. That works fine. The .sh script includes an rsync command that copies a postgresql dump .tar file to a remote archive location via ssh. That fails when run by cron; I think because it is (quietly) asking for the remote user's password (and not getting it). I set up the public/private ssh key arrangement. The script succeeds when run manually as the same user that the cron job uses, and does not ask for the password. I am able to ssh to the remote server from the source server (using the same username) and not get the password prompt (both directions), so why doesn't rsync work? I even put a .pgpass file in the root of that user's directory with that user's password, and the user/password are identical on both servers.
I think the problem is rsync is not able to use the ssh key correctly. I tried adding this to my script but it didn't help.
Code:
Here is the rsync command embedding in the .sh script.
Code:
Here is the cron entry:
Code:
View 6 Replies
View Related
Oct 24, 2010
I,m using Ubuntu 10.10 with Gimp. Ive got a lot of photos etc and need to back these up. Can I anyone suggest a good backup solution which does not require e to keep copying the same files? IE: Once the files are backed up I only want to back the files used since last back up?
View 11 Replies
View Related
Apr 8, 2011
In a typical sources.list in a Debian-based distro, I see a line that begins with "deb," and right below it, the same repo preceded by "deb-src." I can figure out that that means "Debian source," but what's the difference between a "deb" and a "deb-src"?
My current sources.list has almost all the deb-src lines removed; I believe I did that at some point because Synaptic was giving me error messages over there being too many entries in my sources.list, and I must have thought the deb-src lines were redundant. I assume I was wrong, eh? The deb-src lines must be there for a reason. I might not have been certain the error messages were due to having too many sources, either; maybe that was only my guess.
View 3 Replies
View Related
May 18, 2011
I usually use portage(a type of package manager for Gentoo). It's easy to install and unistall programs.
However, I sometimes install programs from source for various reasons. The installation is fine but how do I remove them?
Do I just delete all the files or is there more to it?
View 3 Replies
View Related
Mar 17, 2010
I am using Suse EL 10.2 on IBM cloud, and need to install basic packages such as gcc, zlib, etc. Is there any official Suse 10 sources that I can use?
View 1 Replies
View Related
May 25, 2011
Recently, I've installed vim like so:
hg clone https://vim.googlecode.com/hg/ vim
cd vim
sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim
make
make install
make install clean
So, my VIM's binaries now live under /opt/vim/bin. Here is ls -la of this dir:
[Code]...
View 2 Replies
View Related
May 13, 2009
Debian 5.0
On running;
$ cat /etc/apt/sources.list
Code:
deb http://http.us.debian.org/debian lenny main contrib
deb-src http://http.us.debian.org/debian lenny main contrib
[Code].....
E: Some index files failed to download, they have been ignored, or old ones used instead. how to adjust sources.list
View 3 Replies
View Related
Aug 28, 2010
Is there a way to keep the application sources after being installed by Software Manager(using Linux Mint)?
ex, i install opera browser via the software manager and maybe i try to re-install the linux in a month and i don't wanna download all the softwares again. is there a executable file like EXE or DMG which i can keep after downloaded?
View 6 Replies
View Related
Jan 19, 2009
I need to download the Kernel sources add a few lines and then recompile and install the new files. I found the following lines that are suppose to do it on nVidia's forums:
Code:
# Install Kernel Sources
sudo apt-get build-dep linux-image-2.6.24-17-rt
sudo apt-get source linux-image-2.6.24-17-rt[code]........
what the Kernel Module Source packages are called?... This guide I am trying to follow is obviously dated but it is the only solid lead I have been able to find towards making my ram work...This is the original thread on the NVNEWs boards: Unable to install Nvidia driver on 9500M + Ubuntu - Page 2 - nV News Forums,Read through that thread I linked to the NVidia forums for a detailed run down of what is wrong.
The semi short version: There is some sort of issue with the NVidia driver on the G1Sn (and several other Asus Models) and the way the Linux Kernel address memory, the issue results in not being able to use more than 2 Gigs of ram with the Nivida drivers. There is a patch (again check the nvidia forum link) that people said they had applied to fix this issue. At this point I am seriously considering Vista again if I can't get this working I love Ubuntu but I hate having my hardware limited by my software...where to download the files I need to recompile in the Kernel with the patch I need for my ram to work?
I tried posting there but it seems like the thread is long dead.. how I can download the needed files and maybe how I add these lines to it?I also started a thread on the ubuntu forums here: [ubuntu] Downloading Current Kernel Sources.
View 2 Replies
View Related
Oct 25, 2010
It has been years since I have need to compile the kernel or its modules. Here goes: I recently upgraded to ubuntu 10.10 and needed the kernel source and its modules source. The relevant directories are in a mess. Several diff versions, broken links, the works. Is there a nice easy way, to remove all of the sources, there, and err "install" the ones for my latest kernel, in the correct places. Then I might have a chance at getting the two modules I need complied! Nvidia being one for the geforce 4 mx420 nv17
View 4 Replies
View Related
Feb 25, 2010
When compiling software I get the following notice : You do not appear to have the sources for the 2.6.31.5xls-domU kernel installed.
Yum says :
Package kernel-headers-2.6.18-164.11.1.el5.x86_64 already installed and latest version
Package kernel-devel-2.6.18-164.11.1.el5.x86_64 already installed and latest version
But uname says :
Code:
-bash-3.2# ls /usr/src/kernels/
2.6.18-164.11.1.el5-x86_64
-bash-3.2# uname -a
Linux vds.hosting.net 2.6.31.5xls-domU #4 SMP Fri Dec 4 12:17:04 CET 2009 x86_64 x86_64 x86_64 GNU/Linux
Extra info :
title CentOS (2.6.18-164.11.1.el5xen)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-164.11.1.el5xen ro root=/dev/xvda1 console=xvc0
initrd /boot/initrd-2.6.18-164.11.1.el5xen.img
This is a VDS I'm renting from my Hosting company. How can I get the right sources? RPMforge repo?
View 10 Replies
View Related
Feb 11, 2010
I am looking for the best sources.list there is for Debian/Lenny Stable,I got the following from the website of sources.list generator, but I am not convince because for the last 6 days I did not got any update to do, my system been for 6 days straight up to date so, I am not convince at all because it is odd, here is my sources.list:
Code:
#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################
###### Debian Main Repos
[code]...
PD: I got Germany Debian servers because they are pretty fast nothing more and also I am running on my Desktop Xfce4 that I loved, but, I would like to know if there is any repository for updates on this wonderfull Desktop Enviroment.
View 14 Replies
View Related
Jul 26, 2010
Is there some catalog or something to distinguish and choose sources for sources.list file in Debian? Currently mine are
Code:
deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48]/ lenny contrib main
deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-2 20090905-08:48]/ lenny contrib main
deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-3 20090905-08:48]/ lenny contrib main
deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-4 20090905-08:48]/ lenny contrib main
deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-5 20090905-08:48]/ lenny contrib main
deb cdrom:[Debian GNU/Linux 5.0.3 Update DVD 20090907: i386 DVD 1]/ lenny contrib main non-free
but I want to use EXACTLY the same from internet - for the same version.
Also what mean non-free, contrib, main and other parameters?
View 3 Replies
View Related
Feb 11, 2011
It's always a good to backup a configuration file like sources.list before you edit it. To do so, issue the following command: sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup Where does it backup to and how do I access it? I want to put the backup on removable disk or upload it
View 2 Replies
View Related
Apr 25, 2010
trying to compile latest pixman/cairo/pycairo from sources on ubuntu hardy LTS 8.04. The default versions are pretty older. These are the versions of three packages I am using:1. pixman-0.18.02. cairo-1.8.103. pycairo-1.8.8Please note that I am new to linux with limited skills in c/c++ stuff.First you have to compile pixman and here is the script I am using:
Code:
$wget http://www.cairographics.org/releases/pixman-0.18.0.tar.gz
$tar xvf pixman-0.18.0.tar.gz
[code]....
View 2 Replies
View Related
Feb 24, 2011
I am trying to run a rsync backup Script to backup my data from my HD to my NAS Drive (currently mounted as Samba share, but can change to NFS if that would improve things, if I can work out how!), but when I run the Script I get the following error on every file it tries to copy
Code:
As I mentioned I am mounting my Share from my NAS as Samba and below is the fstab entry
Code:
The rsync command with options is as follows
Code:
The error seems to be with the -a option, but I have no idea why.
View 7 Replies
View Related
May 26, 2010
i have a cheap-arse employer who doesn't provide any data backup for us. so i've setup my own very simple server with ubuntu 10.04 (no raid). from my linux desktop i want to backup to my file server. from my file server i configured samba to allow me to access my data from the many Windows PCs in the place. I also have a USB drive for when i go home or to another building.
most of my work happens on my linux desktop. so i use rsync to 'backup' from there to the file server. can i use rsync to keep my usb drive also sync'ed? in the same command?
when i access files on my file server from a Windows PC via samba, and change something, will rsync pick up that change on the server, and migrate the changes back to my linux desktop?
View 4 Replies
View Related