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


ADVERTISEMENT

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

General :: Best Way To Backup And Restore / Home Directory And Reinstall Kubuntu

Dec 3, 2009

So I've finally given up on saving my kubuntu install that wont boot. I've searched, and looked, but couldn't find a thing.My delema now is to make sure that I:

a) get all of the user data safely packed up onto my external USB drive. I believe it's all in the home directory. I'm not sure about getting hidden files though...

b) get the new install to go smoothly, and not mess up grub or the parralell XP install on the same hard drive.

c) get the user data back on the computer and recreate the user structure. Permissions were messed up already, so setting those up again is not an issue.

So, I've been poking around, and this is how I think things should go:

a) tar cvpjf backup.tar.bz2 /home to get my home directory backed up. Not exactly sure how to get from here to my external hd, but I'm sure I can figure it out

b) just run a live cd of kubuntu, delete the old partitions, and reinstall over them?

c) unzip the tar into by /home directory.

That's all I've been able to find so far. How do I set up the users? Will they show up as soon as I untar? Will the resinstall play nice with my windows install? Will I get all the hidden files too? Is there anything I'm missing?

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

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

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 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

Security :: Site Definitely Hacked - Can't Delete Files To Restore Backup

Apr 9, 2010

I've discovered that after restoring my site's backup this has happened to me again. How to delete the hacked /home/crocbits directory so that I can restore the backup under the same username. When I try to delete /home/crocbits I get this message when logged in as root:

[Code]...

View 9 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 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

Debian :: Used Backup-manager - Restore The Backup Data?

Feb 4, 2011

I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?

View 4 Replies View Related

Ubuntu :: Top Panel Deleted - How To Restore

Oct 2, 2010

I accidentally deleted my top panel and am in the process of restoring it. The last thing that was there which is not now is the quick link to Ubuntu Help. It is installed on my PC but I cant find it.

View 4 Replies View Related

Ubuntu :: 10.04 - How To Restore Deleted Panel

Oct 21, 2010

I was playing around with Lubuntu 10.04, accidentally delete a panel, how do I restore it?

View 2 Replies View Related

Ubuntu :: Deleted Panel - How To Restore

Mar 11, 2010

I deleted my panel (where you can see running programs, show desktop shortcut). I know - its stupid to delete panel, but I wanted to try it out. How can I get it back?

View 3 Replies View Related

Ubuntu :: Back In Time To Backup Home Directory To A Second Hdd That Is Mounted At /media/backup?

May 18, 2010

using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner

View 2 Replies View Related

Ubuntu :: Restore Deleted Top Panel To Default

Jan 4, 2010

I deleted the top panel, how can I restore it to default.

View 7 Replies View Related

Ubuntu :: How To Restore Deleted Truecrypt Partition

Feb 16, 2010

my /dev/sdb was a truecrypt partition that was mounted when I accidentally deleted the partition in gparted (instead of sdc, stupid). I'm pretty sure I haven't overwritten anything since then, but I'm not sure how to go about recovering this one. To confound the problem, the only way I can install stuff to my ubunut machine is by downloading on a windows machine and transferring by memory stick.

View 7 Replies View Related

Ubuntu :: Partition Table Was Deleted / Cant Restore?

Mar 2, 2010

I was working on creating a partition on a new hard drive I was planning on using for storage. I wasn't paying attention and chose to delete the partition on my master. I am running a dual boot with Vista and Ubuntu. When I rebooted It will only go to the Grub> prompt. Ive ran TestDisk and though that I had corrected the problem but it didnt. After running TestDisk again here is what It came up with.

Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
L HPFS - NTFS 0 32 33 28554 254 63 458734027
L Linux 28555 1 1 38585 254 63 161147952
L Linux Swap 38586 1 1 38912 254 63 5253192
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
code....

After writing the table above I rebooted. Windows prompted me for my restore disk. I rebooted to the live cd again and ran Fdisk.

code....

View 3 Replies View Related

Ubuntu :: How To Restore Deleted Logical Volume

Jul 30, 2010

I have 3 harddisks, 1 for system and 2 for data.

To manage it more easy, I tied 2 harddisk in LVM. And I made an logical volume. It used ext4 for it's filesystem.

Today, I wanted to format and reinstall the system. So I booted the system using Ubuntu CD. But managing the partition, I accidently delete the logical volume. Because backup(/etc/lvm) was in itself, I couldn't restore the old config. I just create new logical volume.

As I expected, I couldn't mount it correctly. Mount said that "Mount: Mouting failed A on B! Invalid argument!"

I must recover it, because it has a lot of import data. What should I do?

View 1 Replies View Related

Ubuntu :: Restore Deleted 'Downloads' Folder?

Nov 22, 2010

I made one of those silly mistakes and stupidly deleted my 'Downloads' folder. how one could restore it?

View 3 Replies View Related

Debian :: Backup Purge Script - `/mnt/backup/subfolder': No Such File Or Directory

Nov 10, 2010

This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:

# delete backups older than 7 days
find /mnt/backup/*  -mtime +7 -exec rm -Rf {} ;

The problem is, every morning I get an email with an error message something like this:

find: `/mnt/backup/subfolder': No such file or directory

View 2 Replies View Related

Fedora :: Deleted Menu.lst - How To Restore

Apr 1, 2011

I have a Laptop where I installed both Fedora 11 and windows 7 dual boot.

While I was upgrading Fedora 11 to Fedora 14 using preupgrade, I tried to edit /boot/grub/menu.lst file to make an option to continue upgrading the system after rebooting.

Accidentally, I deleted the file content and I couldn't restore it

I knew then that I'll face a problem when I reboot the system, and I faced it >> the grub selection menu disappeared , and only the line (grub> ) appeared when I reboot the system.

1- These commands:

Code:

But when I rebooted , nothing changed and the same (grub> ) appeared again.

2- I used the instructions in the PDF attached, but unfortunately nothing changed.

I think that I have to rewrite the menu.lst and grub.cnf files but I'm not expert and I don't know exactly what was there (locations , commands , etc. )

The current system monitor for the file system is shown in the next image:

View 6 Replies View Related

Red Hat / Fedora :: Restore Deleted File ?

Mar 10, 2010

I accidentally deleted one of my very important folder using the command:

That is a very important project done in Plone( a CMS ) is any way to recover my Folder.

View 5 Replies View Related

Ubuntu Networking :: Restore Deleted Eth0 By Accident

Mar 13, 2010

i had deleted eth0 by accident how can i restore it

View 9 Replies View Related

Ubuntu Installation :: Testdisk Can't Restore The Partition - Just Deleted

Aug 8, 2010

I tried to install Ubuntu next to XP. After restart - no XP and no Ubuntu. Something wrong with loader I guess, I see command line prompt (of the loader I guess).

So I restarted from liveCD. But no "Repair Install" option like in XP CD. So, I deleted partition to install again on top of old, then learned a loader possibly could be fixed.

So, the problem is: testdisk cannot restore partition I deleted. I didn't write on disk anything. May be swap space after couple reloads from liveCD corrupted it?

It complains "The harddisk (...) seems to small!", it sees some other partitions and doesn't see what Gparted and Disk Utility.

Let me know the best approach to get back XP running (having Ubuntu would be good too).

Here below are the screen captures for details.

Quich Search results. Can't recover what's found. Why 4 partitions are found? Notice, "The harddisk seems too small !" Could this be a problem? HDD is not Maxtor anymore

The gap is there but no deleted partition shown

Essentially same thing... going for deeper search

Deep Search hasn't recover anything new. And shows same results as Quick Search (2nd testdisc image )Hit "continue"...

Now the partitions shown as deleted because of overlapping. The partition to be recovered is still not in the list.

Anyway, my final goal is to get WinXP back and if possible, install Ubuntu. It's nice that installer still sees the XP. Too bad the loader doesn't. how to get it done.

Unlike during installation of XP, ubuntu doesn't offer to utilize the deleted partition. Is it going to stay empty/unallocated? Forget the empty space, will I get XP running if I continue and install?

View 9 Replies View Related

Ubuntu :: How To Restore File Deleted From Home Folder

Jun 25, 2011

By naming one of my folders wrong I thought I don't need it anymore and pressed delete button while holding shift. Is there any way I could get that folder back? (I'm actually looking for the file inside that folder - .conky config file to be more precise) I've tried scalpel and extundelete, but none of them worked.

View 2 Replies View Related

Ubuntu :: Deleted Top Panel - How To Restore In Original State

Aug 5, 2011

The top right panel item contains the shutdown, time, network icons, etc. I don't use the messaging icon so right-clicked and chose 'remove from panel'. The whole lot disappeared! How can I restore things to their original state?

View 5 Replies View Related

Slackware :: Way To Restore Deleted LVM2 Volumes?

Jun 12, 2010

I was trying to remove a logical volume, but used the lvremove command incorrectly.

I did something like:

Code:

Thinking it would remove somelv from myvg

But instead it said "volume group somelv: not found" and then deleted all the logical volumes in myvg.

Is there any way to restore them or is it reinstall time?

I had some backups of my system, but unfortunately they were stored on a logical volume in the same volume group.

View 6 Replies View Related







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