
idiotkiwi wrote:There is much discussion about backing up before making changes. Coming from Windows, the process in Linux seems complicated.
I have installed Simple Backup and would like to backup to a separate partition so I can reinstall the OS if necessary. I tried following the instructions as if for a separate Home (which had worked for me in Bianca) but failed. I can backup to var OK and could copy from there but there must be a better way. Googling brought up some very (to me) complex routines.
Two questions - Is simple Backup a reasonable choice?
- What is the best way to put it on to its own partition.
Thanks
Euan



Nonsense!idiotkiwi wrote:Coming from Windows, the process in Linux seems complicated.

...as root: ...
Code:
cd / && tar -pczvf Home_Backup.tar.gz /home
... and then unpack everything again when you need it (as root !!): ...
Code:
cd / && tar -pzxvf /path/to/archive.tar.gz
These commands should create OK copies of your /home ... The tar method has the advantage that you get to keep a nice archived backup copy of your /home that you could use on other systems too ... or you could use it again and again and again in case of re-installations ... Wink




f a thread needs to go for 32 pages then it should be broken up into different questions/threads
am i off topic yet?




sudo rm /path/to/offending/file.tar.gz
And how do you mean to perform a restore if disaster strikes? Every backup procedure is only as reliable as the restore procedure. Sure, there are GUI backup tools and you can install and use them ... But what if your system all of a sudden won't boot anymore? How do you then plan to get into that GUI tool ... ? And if you can't get into that GUI tool, how do you plan to get your data back?awcreamsoda wrote:Is there any intuative backup software, with a GUI, that I could download and use for back up.
sudo su -
cd /path/to/USB/disk
tar --one-filesystem -pzcvf BootFS_backup.tar.gz /boot
tar --one-filesystem --exclude=/tmp/* --exclude=/dev/* --exclude=/proc/* -pzcvf RootFS_backup.tar.gz /
tar --one-filesystem --exclude=/var/tmp/* -pzcvf VarFS_backup.tar.gz /var
tar --one-filesystem -pzcvf UsrFS_backup.tar.gz /usr
tar --one-filesystem -pzcvf HomeFS_backup.tar.gz /home 
scorp123 wrote:Use sudo?
- Code: Select all
sudo rm /path/to/offending/file.tar.gz


blogger wrote:scorp123 wrote:Use sudo?
- Code: Select all
sudo rm /path/to/offending/file.tar.gz
Thank you Scorp123,
With your help, I managed to remove the Home_backup tar file and freed my root partition from a few GBs.
Cheers,
Blogger
EDIT, June 26, 07
Why so much talk about backup schemes?![]()
Could there be a simpler and easier way than Scorp's tar and gzip method?
One question though. The tar file is by default installed in the root File System. How can we install it elsewhere; a disk partition, a flash stick etc?
Thanks


Hmmm. Having a complete system backup is a must, yes. But image backups have a few drawbacks: You not only backup your stuff (e.g. those portions where the data is located) but also the empty parts of the harddisk. That's overhead in my opinion. Also: what if you change disks or partition your disks differently? Having things in relatively "simple + stupid" archives has the advantage that you can unpack your stuff relatively quickly and uncomplicated wherever and whenever you want. Not all disk imaging software can match that as far as I know.JAK wrote: Having image backups is a must.

scorp123 wrote:Hmmm. Having a complete system backup is a must, yes. But image backups have a few drawbacks: You not only backup your stuff (e.g. those portions where the data is located) but also the empty parts of the harddisk. That's overhead in my opinion. Also: what if you change disks or partition your disks differently? Having things in relatively "simple + stupid" archives has the advantage that you can unpack your stuff relatively quickly and uncomplicated wherever and whenever you want. Not all disk imaging software can match that as far as I know.JAK wrote: Having image backups is a must.


sudo dpkg -i *.deb
scorp123 wrote: And how do you mean to perform a restore if disaster strikes? Every backup procedure is only as reliable as the restore procedure. Sure, there are GUI backup tools and you can install and use them ... But what if your system all of a sudden won't boot anymore? How do you then plan to get into that GUI tool ... ? And if you can't get into that GUI tool, how do you plan to get your data back?

linuxviolin wrote:scorp123 wrote: And how do you mean to perform a restore if disaster strikes? Every backup procedure is only as reliable as the restore procedure. Sure, there are GUI backup tools and you can install and use them ... But what if your system all of a sudden won't boot anymore? How do you then plan to get into that GUI tool ... ? And if you can't get into that GUI tool, how do you plan to get your data back?
Just for the record, Acronis Tue Image has a boot CD. Booting with it you take in the GUI for restoring (or creating images) your partition(s), so even with a system which don't boot, no problem with the CD and its GUI.


Users browsing this forum: Bing [Bot], Spearmint2 and 24 guests