DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th July 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default How to backup my system

Hi all,

I have this 80G machine here which I want to turn into a dualboot with 40G each, Win and FBSD.

As it seems impossible to just resize the slices and partitions, I guess the best way is to copy my current system to a backup-server in the network, repartition the disk and copy my old BSD system back.

What do you think and what's the best way to do accomplish this?

TIA
Reply With Quote
  #2   (View Single Post)  
Old 16th July 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

I've done something similar with the application "partimage". Maybe this could be the solution you are looking for.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
  #3   (View Single Post)  
Old 16th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

dump -0Lauf - /dev/SLICE | bzip2 /backup/file.bz2
Then copy over net with scp or samba or whatever....
later, on newly formated UFS slice
copy to some place where you have free space (lets say /dir
mount /dev/SLICE /some/mountpoin
cd /some/mountpoint
bzcat /dir/file.bz2 | restore -rf -

cd /
umount /some/mountpoint
and that's it, basically


if yo don't want to compress data, remove bzip2 and bzcat part and replace - with /dev/SLICE
Reply With Quote
  #4   (View Single Post)  
Old 16th July 2008
coppermine's Avatar
coppermine coppermine is offline
Port Guard
 
Join Date: May 2008
Posts: 40
Default

killasmurf :
Good, but don't forget to double check the pathes in vital system files like /etc/fstab.. and other friends.
Reply With Quote
  #5   (View Single Post)  
Old 16th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Quote:
Originally Posted by coppermine View Post
killasmurf :
Good, but don't forget to double check the pathes in vital system files like /etc/fstab.. and other friends.
you cna still extract them, from backups
read restore manpage
you don't need to extract all files....
Only thing for this you will need to use decompressed backup
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
backup freeBSD 7.0 using Backup Exec ccc FreeBSD General 2 25th April 2009 09:23 PM
Backup strategies Oko General software and network 4 2nd February 2009 01:32 AM
Backup script(s)? giddyupman General software and network 2 3rd January 2009 02:06 PM
Yet another backup question rex FreeBSD General 7 7th November 2008 04:22 PM
Which file system use to share data on Bsd system? aleunix Other BSD and UNIX/UNIX-like 2 1st June 2008 04:14 PM


All times are GMT. The time now is 02:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick