Re: Back up files...

2008-04-09 Thread Roland Smith
On Wed, Apr 09, 2008 at 11:11:13AM +0800, Ruel Luchavez wrote:
 Hello again...
 
 Guys could you teach me how to transfer files from server, I have back up my
 files  i want
 to transfer the back up files folder in my DVD CD to avoid disk consumption.

For making backups to DVD you need growisofs(1). This is part of the
sysutils/dvd+rw-tools port, which you'll need to install.

You will also need to configure your kernel to use SCSI emulation for
the DVD device. This is documented on my FreeBSD page;
http://www.xs4all.nl/~rsmith/freebsd/index.html#cdrom

Using growisofs is relatively simple. Read the manual page. The hard
part is to make sure that whatever you burn isn't larger than a
DVD. Depending on data size you'll have to spread the data to several DVDs.

If you have a lot of data, using DVDs is impractical.

What I would recommend is to buy a large harddisk with a USB connection
and use that to store your backups. Make your backups with the dump(8)
command, and compress the dump using gzip(1). E.g. to dump the root
partition:

dump -0 -a -C 8 -h 0 -L -u -f - / |gzip /where/to/put/root-0-20080409.gz

Remember to set the 'nodump' flag (with chflags(1)) on all directories
that don't need to be backed up. Good examples are /usr/ports and
/usr/obj, and all /*/tmp directories.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpZZLYMBFIGG.pgp
Description: PGP signature


Re: Back up files...

2008-04-09 Thread Wojciech Puchar


For making backups to DVD you need growisofs(1). This is part of the
sysutils/dvd+rw-tools port, which you'll need to install.


unless it's DVD+R(W), then with dd or tar works.


If you have a lot of data, using DVDs is impractical.


not that, unless it's really 100GB

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Back up files...

2008-04-09 Thread Dick Hoogendijk
On Wed, 9 Apr 2008 18:16:45 +0200
Roland Smith [EMAIL PROTECTED] wrote:

 What I would recommend is to buy a large harddisk with a USB
 connection and use that to store your backups. Make your backups with
 the dump(8) command, and compress the dump using gzip(1). E.g. to
 dump the root partition:
 
 dump -0 -a -C 8 -h 0 -L -u -f - / |gzip
 /where/to/put/root-0-20080409.gz

OK. Right. And what is exactly the command for restore?
Something like gunzip dumpfile.gz | restore rf dumpfile
Or what. Compressing is nice but the use of gzip is always a bit
confusing to me.

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + SunOS sxde 01/08 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Back up files...

2008-04-09 Thread Roland Smith
On Wed, Apr 09, 2008 at 08:38:28PM +0200, Dick Hoogendijk wrote:
 On Wed, 9 Apr 2008 18:16:45 +0200
 Roland Smith [EMAIL PROTECTED] wrote:
 
  What I would recommend is to buy a large harddisk with a USB
  connection and use that to store your backups. Make your backups with
  the dump(8) command, and compress the dump using gzip(1). E.g. to
  dump the root partition:
  
  dump -0 -a -C 8 -h 0 -L -u -f - / |gzip
  /where/to/put/root-0-20080409.gz
 
 OK. Right. And what is exactly the command for restore?
 Something like gunzip dumpfile.gz | restore rf dumpfile

Close. It's 'gunzip dumpfile.gz | restore -rf -' since  you are
restoring from standard input. 

If you just want to restore a couple of files instead of the whole
thing, you should use '-i' instead of '-r'. But if you're using '-r',
you should make a pristine filesystem with newfs first.

Personally I use 'gzip -1' for compression because it's fast. Using
bzip2 usually isn't worth it; backups will be a couple of percents
smaller but take two to three times as long!

The script that I use to make backups of all my UFS partitions can be
found on my shell-scripts page under the name 'dodumps', in case anyone
is interested: http://www.xs4all.nl/~rsmith/software/scripts.html

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpGojRDDBYA0.pgp
Description: PGP signature


Re: Back up files...

2008-04-09 Thread Ruel Luchavez
Hi to all,

Thanks for your reply..I already solve it using third party software, which
for
me using it is much more easy...

best regards..


On Thu, Apr 10, 2008 at 3:34 AM, Roland Smith [EMAIL PROTECTED] wrote:

 On Wed, Apr 09, 2008 at 08:38:28PM +0200, Dick Hoogendijk wrote:
  On Wed, 9 Apr 2008 18:16:45 +0200
  Roland Smith [EMAIL PROTECTED] wrote:
 
   What I would recommend is to buy a large harddisk with a USB
   connection and use that to store your backups. Make your backups with
   the dump(8) command, and compress the dump using gzip(1). E.g. to
   dump the root partition:
  
   dump -0 -a -C 8 -h 0 -L -u -f - / |gzip
   /where/to/put/root-0-20080409.gz
 
  OK. Right. And what is exactly the command for restore?
  Something like gunzip dumpfile.gz | restore rf dumpfile

 Close. It's 'gunzip dumpfile.gz | restore -rf -' since  you are
 restoring from standard input.

 If you just want to restore a couple of files instead of the whole
 thing, you should use '-i' instead of '-r'. But if you're using '-r',
 you should make a pristine filesystem with newfs first.

 Personally I use 'gzip -1' for compression because it's fast. Using
 bzip2 usually isn't worth it; backups will be a couple of percents
 smaller but take two to three times as long!

 The script that I use to make backups of all my UFS partitions can be
 found on my shell-scripts page under the name 'dodumps', in case anyone
 is interested: 
 http://www.xs4all.nl/~rsmith/software/scripts.htmlhttp://www.xs4all.nl/%7Ersmith/software/scripts.html

 Roland
 --
 R.F.Smith   
 http://www.xs4all.nl/~rsmith/http://www.xs4all.nl/%7Ersmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Back up files...

2008-04-09 Thread Wojciech Puchar

OK. Right. And what is exactly the command for restore?
Something like gunzip dumpfile.gz | restore rf dumpfile


gunzip -c or zcat


Or what. Compressing is nice but the use of gzip is always a bit
confusing to me.


possibly because it is too simple ;)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Back up files...

2008-04-08 Thread Ruel Luchavez
Hello again...

Guys could you teach me how to transfer files from server, I have back up my
files  i want
to transfer the back up files folder in my DVD CD to avoid disk consumption.

Could you teach me step by step?

Best regards:D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]