- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: system clone via tar - plz help
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2006 05:18 AM
01-21-2006 05:18 AM
say e.g on Computer1 i did
#tar cjvf /system_backup.tar.bz /
is it possible that i use this backup to configure a new machine as a clone ?
i.e can I do this on Computer2 ?
#tar xjvf /system_backup.tar.gz
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2006 06:29 AM
01-21-2006 06:29 AM
SolutionIf however you set up a second machine with the exact same disk partition structure and identical hadware, then it MIGHT work.
http://www.acronis.com
This is a system cloning product for Linux. It can make clones of running systems.
For something less expensive, try Norton Ghost or http://www.mondorescue.org
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2006 06:22 PM
01-21-2006 06:22 PM
Re: system clone via tar - plz help
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 06:48 PM
01-22-2006 06:48 PM
Re: system clone via tar - plz help
- shut down any Daemons/Databases/Services (or make "init S", better boot a rescue System from CD)
- sync filesystem
- exclude /proc/* (or sysfs), /var/run/* Filesystem from Backup
- make tar archive
- restore on other Machine
- change settings on /etc/fstab (when different)and /etc/modules (keep in Mind to load special modules for new Hardware)
- call lilo
- should run
Greetings
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 03:06 AM
01-23-2006 03:06 AM
Re: system clone via tar - plz help
There is also a GNU project out there called "Ghost for Linux" that will do an ok job of duplicating a box if you have an ftp server handy...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 05:12 AM
01-23-2006 05:12 AM
Re: system clone via tar - plz help
>- exclude /proc/* (or sysfs), /var/run/* Filesystem from Backup
Plz le me know how to take tar Backup from '/'... excluding /proc and /var/run ?
Thanks Alan ;)
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 05:36 AM
01-23-2006 05:36 AM
Re: system clone via tar - plz help
-W, --verify
attempt to verify the archive after writing it
--exclude FILE
exclude file FILE
taken from "http://unixhelp.ed.ac.uk/CGI/man-cgi?tar "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 06:43 PM
01-23-2006 06:43 PM
Re: system clone via tar - plz help
--exclude=FILE
exclude file FILE
-X, --exclude-from=FILE
exclude files listed in FILE
so make a file like exclude.txt with
/var/run/*
/proc/*
an do
tar -cvj -X ./exclude.txt -f backup.tar.bz /