General :: Rdiff-backup Keeps Backing Up A Symlink, Ignoring Files Under It

Dec 6, 2010

I've got a backup.list file that looks like this:

+ /ext/installs
+ /ext/media
- /ext
- /backup
- /dev
- /mnt
- /proc

/ext is a symlink to /mnt/vg1/vol1, under which are installs and media directories.

I'm running:

rdiff-backup --backup-mode --include-globbing-filelist backup.list / /backup

rdiff-backup keeps recreating a symlink: /backup/ext -> /mnt/vg1/vol1, which is kind of missing the point, because then it doesn't actually back up the files in /mnt/vg1/vol1/installs, etc.

View 1 Replies


ADVERTISEMENT

General :: Compile The Latest Rdiff-backup In Debian?

Feb 16, 2011

The problem here is that in my ubuntu desktop pc, the repositories contain the latest rdiff (1.2.8), but in my debian server, the repositories contain v1.2.5.
I get an error that the versions are different, therefore I need to compile v1.2.8 in debian myself and I have really no idea how to do that.

[URL]

View 1 Replies View Related

General :: How To Compile The Latest Rdiff-backup In Debian

Aug 27, 2010

The problem here is that in my ubuntu desktop pc, the repositories contain the latest rdiff (1.2.8), but in my debian server, the repositories contain v1.2.5.I get an error that the versions are different, therefore I need to compile v1.2.8 in debian myself.

View 2 Replies View Related

CentOS :: Install Rdiff-backup On C5?

Jan 7, 2010

Is there anywhere that gives detailed (suitable for non-experts) instructions on how to install rdiff-backup?

Only ancient versions seem to exist in any repository, which appears to rule out use of yum. Finding rpm packages also seems extremely difficult. And I'm not too clear what would be required to install from sources.

View 2 Replies View Related

Debian Configuration :: Rdiff-backup On Samba Share

Mar 10, 2010

Is it possible (on lenny, in case that matters) to backup some directories with rdiff-backup, with the target being a WinXP Pro Host, i.e. the target being a SMB share? My idea is to start the XP-Box over WOL, run rdiff-backup and then shut it down using "net rpc SHUTDOWN"...

View 1 Replies View Related

Ubuntu Security :: Cannot Restore Deleted Directory Using Rdiff-backup

May 17, 2011

I have carefully made daily backups using rdiff-backup, so in the case of needing to restore I can do so.

But I deleted a directory yesterday, and made a backup in the evening. Therefore, the directory is not in the latest mirror, but in the incremental backup from yesterday.

Now I need to restore the directory. But I cannot figure out how to!

I can see the directory in yesterday's incremental backup; i.e., the following works:

Code:

Where [backupdir] is the backup (mirror) directory, and [nameofdir] is the name of the directory I'm trying to restore.

So, I have tried to restore. This is the type of thing I have tried:

Code:

Where to-restore.lst holds the name of the directory to restore (in rdiff-backup's format) and [restoredir]is where I want the restored directory to go to.

But, I get errors like:

Code:

Useful file specifications begin with the base directory or some pattern (such as '**') which matches the base directory. Well, obviously the file specification doesn't exist in the [restoredir]. That's because I'm trying to restore it! If I try to create an empty directory first, it complains:

Code:

How do I restore a deleted directory from a previous day's backup to a designated destination?

View 2 Replies View Related

Networking :: Ssh Stopped Working After Accidental Power-off During Rdiff-backup?

Aug 9, 2010

i unplugged the wrong machine during an rdiff-backup run, and when i try to ssh to that machine now, i get 'connection refused'. the machine was set up with ssh-copy-id before the accidental unplug.

View 4 Replies View Related

Software :: Rdiff-backup - Errno 5 - Input/output Error ?

Jun 19, 2011

While running a simple backup using a basic rdiff-backup command such as: # rdiff-backup /DataDrive /BackupDrive

Got a pair of message lines in the error log for a few "problem" files. Each problem file had two lines similar to the following: ListError Directory/file01.jpg [Errno 5] Input/output error UpdateError Directory/file01.jpg rdiff-backup.tmp.1234 [Errno 5] Input/output error

View 1 Replies View Related

General :: Symlink All Files But Copy Certain Extensions?

Jul 27, 2011

I'm wondering how I'd be able to symlink all the files in a dir structure and then also copy files of a certain extension in that dir. I'm basically symlinking all files within /foo/a,b,c to /bar/a,b,c and then copying over certain files with a certain extensions.

View 1 Replies View Related

General :: Confirm That Two Filesystems Are Identical Ignoring Special Files

Jun 15, 2011

/media/A and /media/B should be identical, but I want to confirm before deleting one.

Duplicate file finders don't work, because they'll find two copies of the same file within B, for instance. I only want to confirm that every file in one is identical to the other.

diff -qr /media/A/ /media/B/ seems to work, but the output is cluttered with garbage like

diff: /media/A//etc/alternatives/ControlPanel: No such file or directory

and

File /media/A//dev/tty8 is a character special file while file /media/B//dev/tty8 is a character special file

I can suppress the former with 2> /dev/null, but I don't know about the latter.

rsync -avn /media/A/ /media/B/ also produces a bunch of clutter, like "skipping non-regular file".

How can I compare the two trees and just make sure that all the real files exist in both and are identical?

View 2 Replies View Related

General :: Rsync, Crontab And Backing Up Files?

Apr 11, 2011

This is a quick one, I don't have any problems yet, I just want to check that this is going to do what I think it is. I added the line

Code:
00 01 * * * rsync -avz --delete /local-storage /mnt/usbackup
to my crontab file, am I to understand that this will backup /local-storage to my external

[code]...

View 4 Replies View Related

General :: Mount Point For Backup Drive - Partition To Backup The Important Files On My Main HDD

May 21, 2011

I'm just setting up a partition on a seperate HDD in my system. I plan to use the partition to backup the important files on my main HDD (to guard against HD crash).

The question I have is about where would be the typical location to auto mount this partition? Which would it be normal to go for:

1. /backup/
2. /media/backup/
3. /mnt/backup/
4. /home/chris/backup/

View 7 Replies View Related

General :: Symlink Each Of The Files In One Directory To Another Directory?

Feb 11, 2011

If I have a directory /foo with a few files in it, how do I symlink each entry in /foo into /bar/? For instance, if /foo has the files a, b and c, I want to create three symlinks:

/bar/a -> /foo/a
/bar/b -> /foo/b
/bar/c -> /foo/c

View 3 Replies View Related

Ubuntu :: Get Wget To Download Files From A Server Ignoring Some From A Text File?

Jun 29, 2010

I use the

Code:
wget -r -A <extension> <site>

command to download all files from a certain site. this time i already have some of the files already downloaded and listed in a text file via

Code:
ls > <text file name>

How can i make wget to download from the site i want but ignore the filenames listed in the text file?

View 2 Replies View Related

Debian :: Backing Up Configuration Files Using BAK

Mar 30, 2014

Before I used to make a copy of configuration file and give the end of the file name as 'something.conf.bkp' . Later realized it was a mistake. The correct wording should end in .bak and not bkp .

As per (See apt.conf(5) manpage, section DIRECTORIES, last paragraph.)

The Ignore-Files-Silently list can be used to specify which files APT should silently ignore while parsing the files in the fragment directories. Per default a file which end with .disabled, ~, .bak or .dpkg-[a-z]+ is silently ignored. As seen in the last default value these patterns can use regular expression syntax.

View 7 Replies View Related

Ubuntu :: Backing Up Files Changes Permissions?

May 14, 2010

I did a clean install of 10.04 over the weekend and copied all of my backed up files from my external drive back to my internal drive. However, I've noticed that when I moved all my files back, they're all now marked as being executable. I've since fixed this, but I was wondering why this happened to begin with?

I use rsync to backup my files (grsync to be exact), but when I do so I copy files from my internal drive, which is formatted as ext4, to my external drive, which is formatted as NTFS (I keep my external drive as NTFS in case I need to hook it up to a Windows machine). Does the file system discrepancy have to do with why my permissions change when I backup/restore my files? Is there a way to prevent this? Or should I be backing up my files a different way?

View 1 Replies View Related

Fedora Servers :: Set Up A System For Backing Up Files?

Nov 17, 2009

I would like to set up a system for backing up files and even possibly using it to keep music on and listen to it over the network. I am wondering which would be better to use a separate FTP server or buy one of the NAS enclosures and a couple of hard drives to put in it. I am assuming that the NAS would be accessed via NFS. I have never run an FTP server and I have never had used NAS.I am just looking for pros and cons to each one. I would just like opinions as to which service (FTP/NFS) would be better for this task.

View 4 Replies View Related

OpenSUSE :: Backing Up Samba Server Files?

Mar 9, 2011

I have a Samba server on a computer. I would like to backup the Samba files on a different computer that is a client in the Samba server network. I can easily drag and drop the Samba files onto the client. I would like to automate this process, and accomplish this using an update copy versus a copy full. How can I accomplish this as bash script? I had no luck using the 'cp' command.

View 1 Replies View Related

Ubuntu :: Restore Backup Server - Where Is The Location Backup Snapshots Or Files Are Saving

May 10, 2011

I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.

[URL]

The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?

View 1 Replies View Related

Ubuntu :: Backing Up Files To External Hard Drive?

Feb 6, 2010

What is the recommended way to backup all files to an external hard drive? Should it be done through CLI or should a third party program be used?

View 2 Replies View Related

General :: Finding Files To Backup?

Mar 12, 2011

I have a situation where a directory has about 1.5 million files in it. On an hourly basis, I want to be able to find any files that have changed in the last hour, compress them, encrypt them and then copy them to both a local backup machine and an off site backup.

Is there any kind of utility or kernel module that creates some type of log of modified files? I know I can use find, but the search for -mtime in this directory takes quite a while and will not suffice for an hourly backup.

View 3 Replies View Related

General :: Backup Only The Files Which Have Changed?

May 18, 2011

if there an application which does the following:

1. I have a laptop with an internal 200GB HD.

2. I run the application & it creates a list of all files (size & time-stamp) without actually storing them. Let's call this the "snapshot list".

3. I update some of the files on the laptop.

4. Now I run the application & it only copies the files which have changed on the laptop, that have different size/time-stamp from the snapshot list, onto some external media, such as a memory card. Of course, the files should be copied onto their proper location in the directory tree & not just pile up in one place.

Why is this useful? although the laptop has a 200GB HD I typically only update a small number of files, whose total size is maybe 10MB or so. If I could only backup those which have changed, I could do this with a tiny SD card instead of lugging around an external usb HD.

View 8 Replies View Related

General :: Display Backup Files In Gnome?

Feb 2, 2010

I'm using gnome. I created some text files. After I change something in myfile.txt there's myfile.txt~ automatically created as a backup. Ok... now, on KDE I see these ~ files and I can delete them if I want but they're hidden in gnome... Gnome seems to treat them as special hidden files (just like .mydir directories) How do I make ~ files visible in gnome so I could edit or delete them?

View 1 Replies View Related

General :: Script To Backup And FTP Files To Another Server

Sep 13, 2010

I am using MySQL as the database system for my application on a Linux system. Every week I update the system and take backups (mysqldump) of the databases changed (2 databases). I then .tar.gz them and ftp the resulting file to a remote server, after which I remove the original backups and tar.gz files from the Linux server. Being a complete novice when it comes to Unix systems, I would like to know if it is possible to write a script which would do all this automatically, i.e. perform the following steps.

1) Backup database A to A.sql (mysqldump)
2) Backup database B to B.sql (mysqldump)
3) tar -cvzf dest.tar.gz A.sql B.sql
4) ftp dest.tar.gz to ftp@remoteserver.com
5) Delete A.sql, B.sql, dest.tar from local server

View 2 Replies View Related

General :: Viewing Backup Files But Only In Some Directories?

Oct 26, 2010

I backed up my Laptop with a script, as follows:

Code:

#! /bin/bash
sudo
growisofs -Z /dev/dvd -dvd-compat -r -v /home

I then installed a new version of Ubuntu 10.04 from disk and copied the files in /home from the cd to the hard. I am able to open, view etc. all the files in most directories except those in /home/documents. There are text files created by gedit, OOWP and several PDF files. I cannot open or view these files, depending: gedit and pdf files gets a Err.Msg. "Don't recognize file type" (it is clearly marked PDF) . The OO files look like rows of 'high bits' and a dialogue box opens giving me the options to change Char. Set, Font, Language, Paragraph break.

View 6 Replies View Related

General :: Script For Taking Backup Of Desktop Files

Apr 21, 2011

I have around 100 users. I want to take backup of files which are on desktop for every user. My user directory path is -: /home/dr/<user_name>/Desktop

1) Script has to run on a particular time everyday
2) Script has to take backup of all files present in "Desktop" directory
3) Make a tar with name "yyyy-mm-dd-desk-files"
4) Make directory outside "Desktop" with name "Desktop-Backup", if already exist then don't make this folder.
5) The tar have to moved in this folder.
6) Remove the files from "Desktop" directory. (i.e. Desktop should be empty)
7) Mail the status that "Backup Successful"

View 2 Replies View Related

General :: Keep A Backup Of A Bunch Of Files On A Flash Drive?

Apr 29, 2011

I keep a backup of a bunch of files on a flash drive, so that whenever I change distributions I can just restore all my Android stuff (saves on re-downloading everything). One of these is the Android SDK.

In my ~/.bashrc I add the paths to some executables in the SDK, only if the directory exists, and only if the path is not already in $PATH. For the Android NDK this works fine, but for the SDK I get this:

Code:
snfo@snfo:~$ adb devices
bash: /home/snfo/Android/sdk/platform-tools/adb: No such file or directory
snfo@snfo:~$ ls -F /home/snfo/Android/sdk/platform-tools/adb
/home/snfo/Android/sdk/platform-tools/adb*

Everything else is fine though, just that one path is causing trouble.

Now, I've saw something similar to this before whenever you move an executable from one place to another. If you don't re-source your bash config it will continue to keep looking wherever it used to be located. But I've never moved these files.

View 3 Replies View Related

General :: Split Backup Created By DD Into CD Or DVD Sized Files

Dec 8, 2010

I am backing up parts of my computer with DD, and i was wondering if there was a quick way to split the files created into 4.4GB sized files that will fit onto a DVD. Anyone have any idea of how to do this?

View 6 Replies View Related

General :: Compress Some Folders Containing Backup Files From Last Year?

Jul 24, 2010

Today I tried to compress some folders containing backup files from last year. I right-clicked on the folders and selected compress as tar.gz. I let it work, and found that hours later, the folders were still compressing. How long is it supposed to take, anyway? I was trying to compress the two sets of backups simultaneously; together they're around 1.5 GB. They have many subdirectories.

View 4 Replies View Related

Ubuntu Servers :: Setup A Home Server For Backing Up And Storing The Files On Multiple (Windows) Computers?

Feb 3, 2010

I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved