how to make a full system backup excluding data and restoring it to a new system


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users how to make a full system backup excluding data and restoring it to a new system
# 1  
Old 12-09-2010
Question how to make a full system backup excluding data and restoring it to a new system

Hi,

In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way :

- Make a full system backup excluding the user file system (this system is used as mail and file server)

- Being able to send the data directly to the virtual machine by using the network. (no intermediate backup disk) Smilie

Is it possible ? Smilie

Thanks for your help !

Matthieu
# 2  
Old 12-09-2010
We will need to know the operating system as each does it it's own way, e.g. mksysb for AIX, Ignite for HP-UX etc.

Is the user filesystem you allude to /usr ? If so, you will need a good dollop of the content of this to allow the machine to boot. If it is something else (/usr/home, /data etc.) is it on the same disk as the base operating system was installed or in the same volume group?

If not either of these, then a backup that you can use for disaster recovery should ignore it anyway. If it would normally be included, there are usually some exclude flags, but again they are operating system specific.


Write back with a bit more information and I'm sure someone will help.




Robin
Liverpool/Blackburn
UK
# 3  
Old 12-09-2010
You're right, I forgot some details. Here there are :

- Linux Debian server 2.6.26-2-amd64
- The users files are stored on a /home folder, itself on a LVM. This folder is on the system startup disk, same partition.

here is a df -v if useful :

Code:
/dev/mapper/vg1-root  24738940  11913564  11570492  51% /
tmpfs                  1027488         0   1027488   0% /lib/init/rw
udev                     10240       780      9460   8% /dev
tmpfs                  1027488         0   1027488   0% /dev/shm
/dev/sda1               241116     41850    186818  19% /boot
/dev/mapper/vg1-home 153796644 118100604  27883536  81% /home
/dev/sdb1            156288320 151228576   5059744  97% /mnt/backup

Thank you very much for your help !

Matthieu
# 4  
Old 12-13-2010
Nobody ? I guess this question may sound a bit newbie, but the challenge is that one should find a way to make system image (easy), with exclusions (easy), and without intermediate media (easy), all three at the same time (more difficult ?)

Thanks

Pagaille
# 5  
Old 12-13-2010
I regret that I cannot answer this for Linux as I'm AIX/HPUX/Solaris/Dynix based.

Standards? We've got lots to choose from when it comes to making a system backup, and each OS variant has it's own.

Can anyone else answer this?
# 6  
Old 12-13-2010
Quote:
Is it possible ?
I suppose so, look at the way knoppix live CD works, its debian based, and you can install from (and becomes a debian...) so the idea would be to do something similar
# 7  
Old 12-13-2010
Unless both machines have the same hardware configuration, restoring an image of the root file system of one machine on another is probably not going to work well. You probably don't want all the user ids and passwords, and have to change the system name and ip address, etc.
Better to do a fresh install on the test machine, and then transfer the data files on a (regular) basis.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies

2. Solaris

Help - Chosing backup way (full system + zones)

Hello i am new on Solaris, and i need to migrate my old AIX 5.3 to Solaris 11.2 Now i have all apps working fine but i have the backup cause i was reading and i have not idea about what method must i choose. Btw on AIX i had a mksysb backup to restore all system and obviously another backups to... (4 Replies)
Discussion started by: thorin666
4 Replies

3. Solaris

Restoring a system from a backup

I have backed up the contents of my Solaris 10 machine in its entirety, and I'm trying to figure out if I can somehow use this archive to restore my old system just as it was on a new machine. Assuming I have all files from my old machine backed up, is this possible? What I've been trying to do... (6 Replies)
Discussion started by: unblockable
6 Replies

4. UNIX for Advanced & Expert Users

Grub - how to boot a copy of Linux (full system backup)

Hi All, I have successfully backup & restore (using tar) one of my Debian Lenny Servers. On the restore server (standby machine), everytime i have to erase the disk & extract the tar backup. I want to extract the tar on the running restore server on a directory for e.g /systembackup-01,... (11 Replies)
Discussion started by: coolatt
11 Replies

5. HP-UX

HP-UX Full System Backup with fbackup

Hello, I'm still new in HP-UX backup and I want to do a FULL BACKUP of HP-UX server to TAPE device. After reading on several forums and posts, i have list down several steps on how to do a full backup on HP-UX with fbackup. I would like the gurus here to comment/advise on the steps below 1)... (4 Replies)
Discussion started by: miskin
4 Replies

6. UNIX for Dummies Questions & Answers

Full System Backup Sco 5.0.5

I would like to know if I can do a full system back up on my Unix Sco openserver 5.0.5 Machine. If so, What is the syntax to do this or where can I find this information at? Also, is it possible to make this tape bootable so that I can easily do a full system restore? Any information on... (2 Replies)
Discussion started by: nellenodrog
2 Replies

7. Solaris

full system backup

I have unix server with OS 5.8 ,,, I tried ufsdump 0ua -f /dev/rmt/0 / to perform full system backup on tape but I failed could any one give a procedure for full system backup on solaris machine using tapes??? (1 Reply)
Discussion started by: mm00123
1 Replies

8. UNIX for Dummies Questions & Answers

System full backup to tape

hi, Recently, I had receive one system. it's run on the unix tru64 server. I looking some log files when i know don't work few months age system backup to tape. Below error: INFO:Tape backups to tape tape0 starting for backup list: slot2:/disk4 Backup Command Variable... (0 Replies)
Discussion started by: Tlg13team
0 Replies

9. Linux

full system backup script

Please help. I am new to linux. I wrote a script to run the backup on lunix machine but the job gave me an error. I am using Linux 2.6.14.3. Below is the sample of my script can anyone tell me where went wrong? Thanks in advance. #!/bin/sh dat=$(date +%d%b%y)... (5 Replies)
Discussion started by: clement
5 Replies

10. UNIX for Dummies Questions & Answers

Full System Backup / Cloning HPUX

I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup. Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies
Login or Register to Ask a Question