-Original Message-
From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
questi...@freebsd.org] On Behalf Of J.D. Bronson
Sent: Sunday, April 18, 2010 3:23 PM
To: freebsd-questions@freebsd.org
Subject: Backing up freebsd to 1 file?
I have a freebsd 8.0 install and was
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 19/04/2010 06:52:29, Sergio de Almeida Lenzi wrote:
but I use zfs and I think that during shutdown, /etc/rc.d/zfs is
called stop
so it unmounts all zfs partition... (I did not tested...)...
so It must be called /etc/rc.d/zfs start again...
Sergio == Sergio de Almeida Lenzi lenzi.ser...@gmail.com writes:
It kills everything ungracefully and will screw up anything that needs
to sync state to disk -- like mysql.
Just use shutdown(8): it's what it's there for.
# shutdown now Going single user to make backups
Cheers,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 19/04/2010 16:16:21, Randal L. Schwartz wrote:
Nope. shutdown doesn't appear in /etc/rc.d/zfs keywords, so it won't
get stop during normal shutdown. That must happen later.
Dammit. I know this really -- but for some reason i had it in my head
On 18 April 2010 15:56, J.D. Bronson jd_bron...@sbcglobal.net wrote:
be created by the time your system boots on.
Nice answer by Sergio, but I personally would use the j option with tar
to compress to bzip2;
3) tar --one-file-system -cvjf /mnt/backup.tbz ./ var usr home
Though I prefer
On Sun, 18 Apr 2010 08:23:12 -0500, J.D. Bronson jd_bron...@sbcglobal.net
wrote:
I have a freebsd 8.0 install and was wondering if it is possible to tar
up the entire install...for backup purposes.
# cd /
# tar -cvf backup.tar {list of directories}
then I can ftp the tar file out to
I am very happy with the folowing
Supose that you have mount ANOTHER device on /mnt
1) mount /dev/ /mnt
2) init 1 (this closes all applications and drop into single user)
3) tar --one-file-system -cvzf /mnt/backup.tar.gz ./ var usr home
4) umount /mnt
5) exit (reboot from single
you can migrate to zfs and then create snapshot of whole disk, import
this snapshot (e.g. via ssh) and then restore it back.
Good luck.
--
Jan Hlodan
On Sun, Apr 18, 2010 at 3:23 PM, J.D. Bronson jd_bron...@sbcglobal.net wrote:
I have a freebsd 8.0 install and was wondering if it is possible
On 18 April 2010 15:37, Sergio de Almeida Lenzi lenzi.ser...@gmail.com wrote:
I am very happy with the folowing
Supose that you have mount ANOTHER device on /mnt
1) mount /dev/ /mnt
2) init 1 (this closes all applications and drop into single user)
3) tar --one-file-system
be created by the time your system boots on.
Nice answer by Sergio, but I personally would use the j option with tar
to compress to bzip2;
3) tar --one-file-system -cvjf /mnt/backup.tbz ./ var usr home
Though I prefer personally to use dump/restore because:
- If you're on UFS, you don't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/04/2010 15:37:03, Sergio de Almeida Lenzi wrote:
2) init 1 (this closes all applications and drop into single user)
It kills everything ungracefully and will screw up anything that needs
to sync state to disk -- like mysql.
Just use
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/04/2010 15:19:32, Jan Hlodan wrote:
you can migrate to zfs and then create snapshot of whole disk, import
this snapshot (e.g. via ssh) and then restore it back.
You can create snapshots with UFS too. It's a good way of getting a
reasonably
On Sun, 18 Apr 2010, J.D. Bronson wrote:
I have a freebsd 8.0 install and was wondering if it is possible to tar up
the entire install...for backup purposes.
# cd /
# tar -cvf backup.tar {list of directories}
then I can ftp the tar file out to another machine.
This works in theory, but if I
On 4/18/10 10:39 AM, Warren Block wrote:
If you don't have any other drives, where will the backup file be stored
so it survives a system failure or reinstall?
Thoughts on this would be appreciated...
dump/restore is the standard safe way; you can send it over ssh to back
up to a file on
It kills everything ungracefully and will screw up anything that needs
to sync state to disk -- like mysql.
Just use shutdown(8): it's what it's there for.
# shutdown now Going single user to make backups
Cheers,
Matthew
Ok you are right...
for me worked because I
15 matches
Mail list logo