Debian :: Restoring An Rsynced Backup?
Jan 23, 2010
the links are my stage of backing up my / and /home, both on different partitions.
short-sum up: with rsync, 2-weekly, manual on an external disk.
viewtopic.php?f=10&t=47836&start=0
viewtopic.php?f=10&t=48582
all my test restores in vbox worked fine. i may use the backup as a second OS, so it works. but there i first deleted the old OS and than ran cp -a /media/backup_partition /media/restore_parititon.
yesterday i ran into trouble and had to restore my system.
mount /dev/sda1 /media/restore
mount /dev/sdb1 /media/backup
rsync -auv /media/backup/ /media/restore
that did work, but not so good. dpkg-errors, all non-repo-apps, like opera and some old thrash, were a mess. i had to reinstall them with dpkg to delete them. besides that the system is up and running, but it was a lot of work.
View 12 Replies
ADVERTISEMENT
May 24, 2010
Several months back I backed up a windows hard drive using an ubuntu live cd and this commanddd if=/dev/hdx | gzip > /path/to/image.gzI now want to restore that image but so far have not been successfulI have tried to restore using this commandsudo dd if=/path/to/file.gz of=/dev/sdb1After some time has passed, the terminal reads23568129+1 records in23568129+1 records out12066882348 bytes (12 GB) copied, 1327.65 s, 9.1 MB/sIf I reboot to windows with the 2nd hard drive connected as a slave. I go to my computer to try and browse the files of the restored HD but when I double click the drive, windows saysthe disk is not formatted.I have also tried sudo dd if=/path/to/file.gz of=/dev/sdbAnd when I do this, the disk does not show up in places/my computer but it will show up in gparted and Disk Management
View 4 Replies
View Related
Jan 21, 2010
im trying to clone my ubuntu system installed in a laptop in case the laptop crashes.
But, first of all: when i try to restore the system in a new PC, could be incompatibilities because the hardware of the broken laptop and the new laptop is different?
I dont mind if i have to buy another laptop with the same processor type (i386, etc), but, for example, the type of the RAM could be cause of problems?
View 7 Replies
View Related
Jul 10, 2011
I'm doing an rsync backup to an external drive in order to take a shot at setting up partition encryption. My rsync command is, as root: Code: rsync -av / /external1/backup.Once I've finished my cryptsetup and done a fresh Linux install, what command should I use to properly restore my backup (without messing up the encryption setup)?
View 1 Replies
View Related
Feb 3, 2010
I want to restore a HDD image I have to my laptop's HDD while booted off the Ubuntu Live CD.The laptop's HDD is unformatted and has no partitions.I expected this to work:$ sudo dd if=/path/to/backup.img of=/dev/sdaBut I'm tolddd: opening `/dev/sda': Permission denied.
View 1 Replies
View Related
Oct 10, 2010
Before I reinstalled Ubuntu (this time allocating the entire disk to it as I never really used Windows any more) I backed up the entire contents of my /home folder using Deja Dup. Now that I am done reinstalling Ubuntu I am trying to restore the backup. However, when it actually begins restoring the backup, it says "Restore failed: failed with an unknown error".
View 9 Replies
View Related
Jan 20, 2011
I did a backup of /photos /documents /downloads and /music with mintbackup creating backup on /dev/sdb1
I cannot get mintbackup to restore the file, and I was able finally to get /music file restored. Below is error from cli
Code:
BoredOOMM@ursa-major ~/temp $ sudo tar xzvf 2011-01-16-1424-backup.tar.gz
[sudo] password for BoredOOMM:
.mintbackup
Music/TheWhistler1947.zip
Music/SUSPENSE6.zip
Music/TheWhistler1946.zip
[Code]...
View 7 Replies
View Related
Jul 7, 2011
I've been using 11.04 Unity, & quite like it. I fired up Blender 2.49b the other day (not used it for a long time) & its behaviour was very erratic. Due to this I decided to reinstall 10.10 for the time being, until October or maybe even the 12.04 LTS. I backed everything up & reinstalled 10.10. I then tried to restore my Evolution from the Natty backup file, which simply didn't work. The message was something about it not being a valid file. I'm assuming this is a non backwards compatibility issue.
Any way getting Blender to work or restoring Evolution? With regard to Blender (in Natty); I've not tried proprietary drivers for my GPU yet as the open source defaults have always been fine, so that's an option. It means another reinstall (of Natty), but that really isn't such a big deal at this point. With regard to Evolution (in Maverick); I found a ppa but I'm unsure how to proceed once I've added it. Would I do an apt-get update & an apt-get install evolution?
View 8 Replies
View Related
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
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
Feb 5, 2016
I created two debian bootable pendrive with the newest and basic commands: CP debian.iso and SYNC. When I tried to restoring the pendrive GPARTED sees only few space and is unable to perform any operation on the hidden partition as well in Windows 7.
CFDISK is able to see the partitions but is unable to write anything, just deleting. After deleted any partion GPARTED enconters a wrong block size so is unable to perform any changes.
Thus the only way I found to restoring the pendrive is delete the partion with CFDISK and then formatting the pendrive in Windows, where did I do wrong?
View 4 Replies
View Related
Mar 9, 2011
I have Debian 6 (squeeze), I have also seen this under Ubuntu (can not remember how I fixed it). (has worked in ubuntu 10.10)I can hibernate, but when I switch on the system cold boots (it does not restore previous session).Note suspend works fine. Have looked in /var/log/pm-suspend.log Shows for each block of suspend suspend a block of resume suspend, but hibernate hibernate is not followed by resume hibernate ( I assume that is what is expected.)
View 7 Replies
View Related
Jul 19, 2011
I tampered with Kernel and after restoring it cannot print , when I tried to re instal printer get the following message: CUPS sharing "Unable to get printer status(client-error-forbidden)!"
View 2 Replies
View Related
Jun 13, 2010
I may have posted this in the wrong section before. I had it in General Questions and wasn't getting any feedback there, so I'll try here. Okay, onto the problem...I've decided to give openbox a try with Debian testing. I set up my right-click menu exactly how I want it, and everything else is set up perfectly.I installed trayer and tint2, along with nitrogen. I added the following lines to my ~/.config/openbox/autostart.sh file, but things aren't loading/restoring as they should. Tint2 and trayer don't load at all, and nitrogen isn't restoring my wallpaper. All I get is a black screen with my cursor, but the ability to right-click and open the menu, so it's not like X is dead. I did set the default wallpaper by issuing the command nitrogen /home/john/Pictures/Wallpapers, where "Wallpapers" contains all of my background images.
Here is my autostart.sh file:
# Autostart file for openbox
nitrogen --restore &
[code]....
View 11 Replies
View Related
Oct 18, 2010
I used Kubuntu with KDE 4.5.1 up to August, when I switched to Debian Squeeze with KDE (currently frozen at 4.4.5). Before migrating, I used rsync (luckbackup) to backup the whole Home directory. Kontact version used on Debian is now 4.4.6. While I could use the import feature successfully to retrieve all my e-mail messages by pointing it to ~/.kde/share/apps/kmail/, I couldn't find a way to do the same with contacts.
I don't have backups of my old ~/.local/share/contacts, the folder simply doesn't exist. However, I have ~/.local/share/akonadi. I never used Akonadi Tray Icon to create a backup. In KAddressBook, I have Personal Contacts, which is empty. While waiting for a solution, I filled Default Address Book with some contacts' e-mail addresses retrieved manually from archived past e-mails.
In ~/.kde/share/apps/kabc I have the following:
1) a folder named lock, containing a text file named _home_lelamal_.kde_share_apps_kabc_std.vcf4g7TNh8g and another called _home_lelamal_.kde_share_apps_kabc_std.vcfXASyTlNE. If opened, they show 1372 kontact, and 1629 korgac respectively.
2) A file named std.vcf of 0B size.
3) 8 files, numbered progressively, named "std.vcf__ std.vcf__7, all of which are also of 0B size.
I tried renaming the old /kabc to /kabc.old (in case it got modified in the process) and used a copy of it as a target for Default Address Book in KDE Resources, whose path was changed to point to it. Nothing changed, when I reopened KaddressBook there were still only the new contacts I manually created.
Akonadi Configuration shows Personal Contacts, and it correctly points to ~/.local/share/contacts/, but if the folder isn't there I'm not sure what it's pointing to. I also have a Default Address Book, and when I click on Modify, instead of showing a path like Personal Contacts did, it shows a blank field. When I click on Open File Dialog, it expects me to point it to a vCard Address Book File.
If I'm back to KAddressBook, and open the Personal Contacts addressbook to import the the only vCard I am aware of (the 0B sized std.vcf file in /kabc) nothing happens, it remains empty.
View 2 Replies
View Related
Mar 20, 2010
Due to my inattention, tiredness (and probably stupidity) i've run "chown -R someuser:someuser /" and now all your base are belongs to us the files on the server belong to one user (lol).After system restart, apache, bind9, mysql, and adozen other applications don't start and fill their log files with permission errors.I haven't done any backups on system files, only on the db and website files.Please suggest some ways to revive my web server. I have only 2 month experience with linux,
View 1 Replies
View Related
Feb 21, 2010
My computer initially had one hard drive, with Debian Lenny 5.0.4 installed. I haven't done any special configuration, so upon boot, I was presented with the GRUB kernel select menu, then gdm, etc. I think I used the Debian installer's 'use entire drive with LVM' configuration.
I then added a second hard drive, with the intention of installing Windows XP on it. After I installed XP on this second drive, I found out that it had overwritten the MBR on the first drive. (It was my intention do use the BIOS' F8-key boot menu to choose between the two drives, each with their own distinct boot loader. The two drives and OS's would be completely independent.)
Using my Debian installer CD, I think I have GRUB installed on the first drive again. I've found a number of tutorials which say I can use 'set' and 'linux' to boot the system, but the linux command always returns a file not found error.
I think my LVM filesystem is still intact, as the Debian installer's fdisk reports it, it can also chroot to it and my installation appears to be intact. 'ls' within GRUB shows (derek-swap_1) (derek-root) (hd0) (hd0,1) (hd0,2) (hd1) (hd1,1) (fd0) . 'derek' was the hostname I used.
I would like to simply restore the system to the way it was before: with the standard GRUB that comes with Debian 5.0.4, which then boots into the debian with my LVM filesystem. Is there a way to do this from the Debian installer CD? (I was hoping there would be a 'dummy install' command which would install GRUB and configure it properly, but leave all my existing partitions and filesystems intact.)
View 4 Replies
View Related
Mar 11, 2011
I have recently installed Debian alongside Vista on the same boot menu using the GRUB booting device. Only problem is, I couldn't boot Vista at all any more, so I removed my Debian installation from that drive. But the GRUB boot record persists, I don't have the Recovery disk to restore my old system, so I have to find a way to manually remove the GRUB track and put the old record in its place. I assume there was a copy made of it by the installation program, now my only problem is to find that file and copy the content back in place (at the address at the very beginning of the drive) all that by using Linux code, since that is all I have left. Being new to this game, I have no idea how to begin writing the right command for a job like this
View 3 Replies
View Related
May 10, 2010
My church is planning to purchase a NAS serving 9 PCs running Windows and Linux respectively. The new device apart from storing data, mainly photo, is expected to be used for backup keeping all PCs images.
I have been googling a while unable to find a solution running dd command over LAN.
View 9 Replies
View Related
Nov 17, 2010
i ma trying to learn how to configure lot of server's in Debian Distro what i want to to create backup from the original files easy to restore cos if i miss any configuration it will easy to restore omething like restore point in windows
View 6 Replies
View Related
Feb 8, 2016
Like topic, I want to create a weekly backup of some folder to anoter partition (or external usb), compressed or not (folder also of 20/30 gb), with only root permission on file (or folder) created..This system, where I have installed debian jessie, is always on being used like a NAS..
View 1 Replies
View Related
Mar 28, 2010
I would like to backup my wicd profiles. I thought it would be sufficent to copy /opt/wicd/data and /opt/wicd/encryption - however, those path do not exist in lenny (which I am running). So which path / folders / files do I need to backup in order to back up the wicd profiles and configuration?
View 1 Replies
View Related
Mar 12, 2011
How do you install Gmail Backup 0.107?I downloaded the zip file and extracted it to the download folder. What is the command to install it?
View 10 Replies
View Related
Sep 9, 2015
I have been a windows user for a very very long time, and recently switched to debian. I have so to speak crapped all over my system failing to compile sourcecode properly held broken repos and what not.
So decided to reinstall debian last night, now I have a rather clean fresh installed copy. As I'm a new user to linux, I want to setup a backup system so I can revert to a clean fresh installation when I muck up my system.
Now I have downloaded and installed BackupPC with needed libraries and sitting here trying to configure it on my computer. I have followed this guide: [URL] ....
I have come to this section here:
**********************
Server SSH KEY Creation and Deployment:
3. Deploy Key To Client Machine
Copy id_rsa.pub to client machine
backuppc@server$ scp /var/lib/backuppc/.ssh/id_rsa.pub sudo-user@<client machine>:/home/sudo-user/backuppc.id_ras.pub
backuppc@server$ ssh sudo-user@<client machine>
sudo-user@client$ chmod 600 backuppc.id_ras.pub
sudo-user@client$ sudo mkdir /root/.ssh
sudo-user@client$ sudo chmod 700 /root/.ssh
sudo-user@client$ sudo mv backuppc.id_ras.pub /root/.ssh/authorized_keys
sudo-user@client$ sudo chown root:root /root/.ssh/authorized_keys
********************************************************************
Now I'm not quite sure what to do here as I have no networked computers to deploy to only one machine. Although I want to make a local system backup and upload that to a server I have access to, but would that server be seen as a backuppc server/client?
On this computer here I have generated the id_rsa and id_rsa.pub located in /var/lib/backuppc/.ssh
looking at this part:
Test ssh connection(On server, as Linux user backuppc)
backuppc@server$ ssh root@<client machine>
How should I interpret @<client machine> should that to be ssh root@127.0.0.1 ?
View 8 Replies
View Related
Jan 18, 2016
I switched last summer from Windows (used it since Windows 95) to Debian. I'm using Debian Jessie for a couple of months now and I'm getting used a little.
There are problems here and there, but I can solved them with some reading on the web. Not really a big problem...till now
I run Debian 8.2 om my PC (PC1). Bought an older PC (PC2) that I want to use as a backup server.
I'm using PC2 only for making backups, after the backup I switch it off again.
So I installed Debian 8.2 (net-install without DE and with SSH) on PC2 and tried to configure it to let it work as my backup location. Made a public SSH key and exported it to the root account (no problem) and to the user account (sensdeb), but there was an error "Access Denied"
Gave the user (sensdeb) sudo-rights via visudo file
# User privilege specification
root ALL=(ALL:ALL) ALL
sensdeb ALL=(ALL:ALL) ALL
I installed rsync.
The problem is that Rsync only works when I use the root account.
Code: Select allrsync -r -n -t -v --progress --delete -u -l -H -s /media/Data/Mp3/Anastacia root@192.168.1.102:/test/Mp3
When I try to sync with he normal user account sensdeb
Code: Select allrsync -r -n -t -v --progress --delete -u -l -H -s /media/Data/Mp3/Anastacia sensdeb@192.168.1.102:/test/Mp3
I get error's. Access Denied
I don know how to give the user sensdeb the rights so that I can use that account for my backup tasks. Now it's possible to sync with the root account, but that should not be the way to do it, I read many times.
View 7 Replies
View Related
Jan 12, 2011
I am going to use 'rsnapshot' to create backups of my local & remote computers. My intension is that I can use these backups to restore disk images when needed -> install Linux from scratch and then copy the subdirectories from 'rsnapshot' backup to the new Linux installation.My question is what subdirectories should be excluded in the backup.
View 6 Replies
View Related
Mar 15, 2011
I have a Linux server running Debian 5. I need to get it backed up. I have worked with tar in my past Unix days. I've read that there are some limitations to tar though since it is intended for tape.
My server would need to backup to a Windows server share. From ther it will be backed up to an offsite location. Can anyone make a recommendation for what to use? I would like to take a full backup weekly and then a incremental daily.
View 5 Replies
View Related
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
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
Jun 12, 2010
I have been looking for a complete backup solution like "Acronis True Image Backup and Recovery" on Windows for Slackware a while.
View 12 Replies
View Related