Re: Backup with mtree and rsync?

2013-01-08 Thread Lowell Gilbert
schu...@ime.usp.br writes: I have been wondering whether it is possible to create a backup system using mtree and rsync. Essentially, the user would create a mtree specification of the source directory and copy it over to the destination directory with rsync. Any changes in the destination

Re: Backup with mtree and rsync?

2013-01-08 Thread schultz
I don't see any way to do this directly. What you probably want to do is use find(1) to pick out the new files to check, and then merge the changes into the old mtree(8) spec. Not trivial, but the spec syntax is intended to be easy to parse, so it shouldn't be that hard either. What I am

Re: Backup with mtree and rsync?

2013-01-08 Thread Polytropon
On Tue, 08 Jan 2013 15:57:39 -0200, schu...@ime.usp.br wrote: It's possible that the mtree support in tar(8) might be able to do it, but it would probably be a lot slower. Wait, can tar be used to remove files? No (not directly, except overwriting directories with content), but cpdup can;

Re: Backup with mtree and rsync?

2013-01-08 Thread Ciprian Dorin Craciun
On Sat, Jan 5, 2013 at 8:12 PM, schu...@ime.usp.br wrote: I have been wondering whether it is possible to create a backup system using mtree and rsync. Essentially, the user would create a mtree specification of the source directory and copy it over to the destination directory with rsync.

Re: Backup with mtree and rsync?

2013-01-08 Thread schultz
I apparently reinvented the wheel. :-) Thanks for the link, it is indeed very inspiring. Quoting Ciprian Dorin Craciun ciprian.crac...@gmail.com: On Sat, Jan 5, 2013 at 8:12 PM, schu...@ime.usp.br wrote: I have been wondering whether it is possible to create a backup system using mtree and

Re: Backup with mtree and rsync?

2013-01-08 Thread schultz
No (not directly, except overwriting directories with content), but cpdup can; see man cpdup for details and inspiration. True, but cpdup is not part of the base system. ___ freebsd-questions@freebsd.org mailing list

Re: backup tools

2012-06-23 Thread Wojciech Puchar
My criteria for procedures are: 1. They should minimize the need for additional software beyond the base system as much as reasonably possible. This means not only that I do not good idea. 3. They should provide for incremental backups. do backed up laptops use FreeBSD or have another

Re: backup tools

2012-06-23 Thread herbert langhans
Maybe take a look at lftp, at the mirror option. For basic demands its a compact solution. Cheers herb langhans -- sprachtraining langhans herbert langhans, warschau herbert.raimund[at]gmx.net herbert[at]langhans.com.pl http://www.langhans.com.pl +0048 603 341 441 | jabber:herbs |

Re: backup tools

2012-06-23 Thread Wojciech Puchar
Maybe take a look at lftp, at the mirror option. For basic demands its a compact solution. try doing backup of things with 1 dirs and million files and certainly you will understand you need rsync. ftp protocol is plain bad for that. ___

Re: backup tools

2012-06-23 Thread Roland Smith
On Fri, Jun 22, 2012 at 06:37:17PM -0600, Chad Perrin wrote: On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not

Re: backup tools

2012-06-23 Thread Wojciech Puchar
Hmm, I'm not sure that there is _anything_ that meets _all_ your criteria! rsync meets. It can be a little harder with windoze, with any unix-like OS it will work. ___ freebsd-questions@freebsd.org mailing list

Re: backup tools

2012-06-23 Thread Polytropon
On Sat, 23 Jun 2012 09:49:39 +0200 (CEST), Wojciech Puchar wrote: Maybe take a look at lftp, at the mirror option. For basic demands its a compact solution. try doing backup of things with 1 dirs and million files and certainly you will understand you need rsync. In addition to

Re: backup tools

2012-06-23 Thread herbert langhans
lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... Cheers herb langhans On Sat, Jun 23, 2012 at 10:22:04AM +0200, Polytropon wrote: On Sat, 23 Jun 2012 09:49:39 +0200 (CEST), Wojciech Puchar wrote: Maybe

Re: backup tools

2012-06-23 Thread Wojciech Puchar
lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... still - any ftp client will no go faster than ftp protocol allows. ___ freebsd-questions@freebsd.org mailing list

Re: backup tools

2012-06-23 Thread herbert langhans
On Sat, Jun 23, 2012 at 11:10:06AM +0200, Wojciech Puchar wrote: lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... still - any ftp client will no go faster than ftp protocol allows. That's sure. But I think

Re: backup tools

2012-06-23 Thread Eduardo Morras
At 02:37 23/06/2012, Chad Perrin wrote: On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the

Re: backup tools

2012-06-23 Thread Wojciech Puchar
still - any ftp client will no go faster than ftp protocol allows. That's sure. But I think it's an option for the laptops what Chad only if $HOME directly or part of it is copied and nothing more ___ freebsd-questions@freebsd.org mailing list

Re: backup tools

2012-06-23 Thread Wojciech Puchar
a) activate PXE/WOL on bios b) start the laptop via PXE using a freebsd/linux/whatever_os_you_want_to_use c) use dd piped to rsync to make the backups not really efficient but working. ntfsprogs from ports can be helpful. you may use ntfsmount and access NTFS files directly. if backup is

Re: backup tools

2012-06-23 Thread Warren Block
On Sat, 23 Jun 2012, Eduardo Morras wrote: At 02:37 23/06/2012, Chad Perrin wrote: On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up

Re: backup tools

2012-06-23 Thread Jorge Luis Gonzalez
Wojciech Puchar: Hmm, I'm not sure that there is _anything_ that meets _all_ your criteria! rsync meets. It can be a little harder with windoze, with any unix-like OS it will work. rsync, or some front-end to rsync, is indeed probably the best option, though it lacks several of the

Re: backup tools

2012-06-23 Thread Wojciech Puchar
what exactly deficiences and requirements not met by rsync are you talking about? simplifications of rsync's ability to exclude files or directories, elegant handling of backups' expirations) are sufficient to make it a worthy alternative to naked rsync. The frontend is written in Perl and

Re: backup tools

2012-06-23 Thread Wojciech Puchar
PXE booting gives a lot of possibilities. I use it to boot Clonezilla to back up Windows systems. That is better than dd, since only used disk blocks ntfsclone is what you need. for sure simpler. For FreeBSD and other open operating systems, sysutils/rsnapshot is a what is exactly

Re: backup tools

2012-06-23 Thread Jorge Luis Gonzalez
Wojciech Puchar wrote: what exactly deficiences and requirements not met by rsync are you talking about? Perhaps deficiencies was too strong a word. I think the OP required--or perhaps desired--a WOL function. I'm not aware of any such capability in rsync proper. I meant, too, that

Re: backup tools

2012-06-23 Thread Wojciech Puchar
you mean wake on lan? there is wol tool in ports. proper. I meant, too, that dirvish, which was the alternative that I recommended, presents an elegant and easily-comprehended way to manage rsync's considerable abilities, not that it provides features that can't be managed directly by rsync.

Re: backup tools

2012-06-23 Thread Wojciech Puchar
Thanks for pointing out that there are Windows ports of rsync, and that you provide examples of their use. I'm not sure I would entrust my system backups to them if they come with the disclaimer that you've no idea how stable and usable they are.

Re: backup tools

2012-06-23 Thread Chad Perrin
On Sat, Jun 23, 2012 at 09:46:02AM -0400, Jorge Luis Gonzalez wrote: Wojciech Puchar wrote: what exactly deficiences and requirements not met by rsync are you talking about? Perhaps deficiencies was too strong a word. I think the OP required--or perhaps desired--a WOL function. I'm

Re: backup tools

2012-06-23 Thread Chad Perrin
On Sat, Jun 23, 2012 at 11:17:36AM +0200, herbert langhans wrote: On Sat, Jun 23, 2012 at 11:10:06AM +0200, Wojciech Puchar wrote: lftp does work incremental. Take a look at Chad's posting again and read what he needs. And of course, ftp via ssh is nothing new ... still - any ftp client

Re: backup tools

2012-06-23 Thread Wojciech Puchar
Actually, a Wake-On-LAN feature is not at all necessary for me in this case. It's a simple enough task to just trigger a backup manually at the command line via a script that automates the process. still. a separate wol tool is available in ports. You may easily construct shell script that

Re: backup tools

2012-06-22 Thread Roland Smith
On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other

Re: backup tools

2012-06-22 Thread Chad Perrin
On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so

Re: backup tools

2012-06-22 Thread Adam Vande More
On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin per...@apotheon.com wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or

Re: backup tools

2012-06-22 Thread Chad Perrin
On Fri, Jun 22, 2012 at 08:14:34PM -0500, Adam Vande More wrote: On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin per...@apotheon.com wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of

Re: backup tools

2012-06-22 Thread Marco Antonio Muskus Muskus
Bacula is the tool Enviado desde mi iPod El 22/06/2012, a las 8:31 p.m., Chad Perrin per...@apotheon.com escribió: On Fri, Jun 22, 2012 at 08:14:34PM -0500, Adam Vande More wrote: On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin per...@apotheon.com wrote: I'm setting up a new backup server

RE: Backup strategy for zfs + jail

2012-01-17 Thread Devin Teske
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of bsd Sent: Tuesday, January 17, 2012 1:04 PM To: Liste FreeBSD Subject: Backup strategy for zfs + jail Hi, I have a simple 1U server with two disks that I

Re: Backup strategy for zfs + jail

2012-01-17 Thread Dmitry Sarkisov
On 17-01-2012, Tue [13:52:48], Devin Teske wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of bsd Sent: Tuesday, January 17, 2012 1:04 PM To: Liste FreeBSD Subject: Backup strategy for zfs + jail

RE: Backup strategy for zfs + jail

2012-01-17 Thread Wojciech Puchar
-- Efficiency -- Compatibility with ZFS If you're running 9, give HAST a shot. maybe a stupid question but what is a practical difference between hast and doing ggate+gmirror and setting prefer load balancing to local disk? ___

Re: Backup strategy for zfs + jail

2012-01-17 Thread Wojciech Puchar
Create snapshots of your datasets and use zfs send. You can even transfer differences between snapshots. and then try to recover data from these backups after a year or so ;) ___ freebsd-questions@freebsd.org mailing list

Re: Backup strategy for zfs + jail

2012-01-17 Thread bsd
Le 17 janv. 2012 à 22:52, Devin Teske a écrit : -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of bsd Sent: Tuesday, January 17, 2012 1:04 PM To: Liste FreeBSD Subject: Backup strategy for zfs + jail Hi,

Re: Backup strategy for zfs + jail

2012-01-17 Thread Dmitry Sarkisov
On 17-01-2012, Tue [23:31:30], Wojciech Puchar wrote: Create snapshots of your datasets and use zfs send. You can even transfer differences between snapshots. and then try to recover data from these backups after a year or so ;) No one did mention the retention policy ;) Jokes aside, we

Re: backup terminal title

2010-02-07 Thread Dominic Fandrey
Dominic Fandrey wrote: per...@pluto.rain.com wrote: I wish to use the \033]0;%s\007 sequence in a shell-script to set the title of a terminal. But only if I am able to undo it. My requirement is that this must be done without using anything outside the base system. There is an escape

Re: backup terminal title

2010-02-07 Thread Erik Trulsson
On Sun, Feb 07, 2010 at 09:49:54AM +0100, Dominic Fandrey wrote: Dominic Fandrey wrote: per...@pluto.rain.com wrote: I wish to use the \033]0;%s\007 sequence in a shell-script to set the title of a terminal. But only if I am able to undo it. My requirement is that this must be done

Re: backup terminal title

2010-02-07 Thread Dominic Fandrey
Erik Trulsson wrote: On Sun, Feb 07, 2010 at 09:49:54AM +0100, Dominic Fandrey wrote: Dominic Fandrey wrote: per...@pluto.rain.com wrote: I wish to use the \033]0;%s\007 sequence in a shell-script to set the title of a terminal. But only if I am able to undo it. My requirement is that this

Re: backup terminal title

2010-02-07 Thread Thomas Dickey
On Sat, Feb 06, 2010 at 10:04:49PM -0800, per...@pluto.rain.com wrote: Warren Block wbl...@wonkity.com wrote: What's the sequence for reading the terminal title? If I remembered it I'd have included it :) The first 3 results from Googling xterm escape sequences are This is where to start

Re: backup terminal title

2010-02-07 Thread Thomas Dickey
On Sun, Feb 07, 2010 at 09:49:54AM +0100, Dominic Fandrey wrote: I finally got it: printf \033[22;0t This stores the current icon and window titles on a stack. printf \033[23;0t This restores them from the stack. It works fine with xterm, has no effect on rxvt-unicode (which

Re: backup terminal title

2010-02-07 Thread Thomas Dickey
On Sun, Feb 07, 2010 at 09:49:54AM +0100, Dominic Fandrey wrote: I finally got it: printf \033[22;0t This stores the current icon and window titles on a stack. printf \033[23;0t This restores them from the stack. It works fine with xterm, has no effect on rxvt-unicode (which

Re: backup terminal title

2010-02-06 Thread Matthias Apitz
El día Saturday, February 06, 2010 a las 01:38:11PM +0100, Dominic Fandrey escribió: I just started to wonder how portmaster changes the window title of my terminal and why it doesn't change it back when it terminates. Some digging in the portmaster code showed up an escape sequence:

Re: backup terminal title

2010-02-06 Thread Thomas Dickey
On Sat, Feb 06, 2010 at 01:38:11PM +0100, Dominic Fandrey wrote: I just started to wonder how portmaster changes the window title of my terminal and why it doesn't change it back when it terminates. Some digging in the portmaster code showed up an escape sequence: printf \033]0;%s\007 YOUR

Re: backup terminal title

2010-02-06 Thread Thomas Dickey
On Sat, Feb 06, 2010 at 01:55:55PM +0100, Matthias Apitz wrote: El día Saturday, February 06, 2010 a las 01:38:11PM +0100, Dominic Fandrey escribió: I just started to wonder how portmaster changes the window title of my terminal and why it doesn't change it back when it terminates.

Re: backup terminal title

2010-02-06 Thread Dominic Fandrey
Matthias Apitz wrote: El día Saturday, February 06, 2010 a las 01:38:11PM +0100, Dominic Fandrey escribió: I just started to wonder how portmaster changes the window title of my terminal and why it doesn't change it back when it terminates. Some digging in the portmaster code showed up

Re: backup terminal title

2010-02-06 Thread Matthew Seaman
On 06/02/2010 13:55, Dominic Fandrey wrote: Nice, but I need something that works with base system components. Like an escape sequence that causes the terminal to reset its title. Something like this for tcsh: set prompt = '%{\033]0;%...@%m:%/\007%}%B%m%b:%c03:%# ' Sets the window title to

Re: backup terminal title

2010-02-06 Thread Dominic Fandrey
Matthew Seaman wrote: On 06/02/2010 13:55, Dominic Fandrey wrote: Nice, but I need something that works with base system components. Like an escape sequence that causes the terminal to reset its title. Something like this for tcsh: set prompt = '%{\033]0;%...@%m:%/\007%}%B%m%b:%c03:%#

Re: backup terminal title

2010-02-06 Thread Dominic Fandrey
Dominic Fandrey wrote: Matthew Seaman wrote: On 06/02/2010 13:55, Dominic Fandrey wrote: Nice, but I need something that works with base system components. Like an escape sequence that causes the terminal to reset its title. Something like this for tcsh: set prompt =

Re: backup terminal title

2010-02-06 Thread perryh
I wish to use the \033]0;%s\007 sequence in a shell-script to set the title of a terminal. But only if I am able to undo it. My requirement is that this must be done without using anything outside the base system. There is an escape sequence which will cause the terminal to echo back its

Re: backup terminal title

2010-02-06 Thread Warren Block
On Sat, 6 Feb 2010, per...@pluto.rain.com wrote: I wish to use the \033]0;%s\007 sequence in a shell-script to set the title of a terminal. But only if I am able to undo it. My requirement is that this must be done without using anything outside the base system. There is an escape sequence

Re: backup terminal title

2010-02-06 Thread perryh
Warren Block wbl...@wonkity.com wrote: What's the sequence for reading the terminal title? If I remembered it I'd have included it :) The first 3 results from Googling xterm escape sequences are rtfm.etla.org/xterm/ctlseq.html www.faqs.org/docs/Linux-mini/Xterm-Title.html

Re: backup terminal title

2010-02-06 Thread Warren Block
On Sat, 6 Feb 2010, per...@pluto.rain.com wrote: Warren Block wbl...@wonkity.com wrote: What's the sequence for reading the terminal title? If I remembered it I'd have included it :) I did some unsuccessful searching for query xterm title earlier today. The first 3 results from Googling

Re: backup terminal title

2010-02-06 Thread Dominic Fandrey
per...@pluto.rain.com wrote: I wish to use the \033]0;%s\007 sequence in a shell-script to set the title of a terminal. But only if I am able to undo it. My requirement is that this must be done without using anything outside the base system. There is an escape sequence which will cause

Re: Backup and FreeBSD/ZFS

2010-02-05 Thread krad
On 4 February 2010 18:14, Svein Skogen (Listmail Account) svein-listm...@stillbilde.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04.02.2010 17:57, Matthew Seaman wrote: On 04/02/2010 15:35, Svein Skogen (Listmail Account) wrote: On a monthly rotation the tapes are placed

Re: Backup and FreeBSD/ZFS

2010-02-04 Thread krad
On 3 February 2010 19:21, Svein Skogen (Listmail Account) svein-listm...@stillbilde.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03.02.2010 19:14, LoH wrote: If my memory serves, you're looking at something similar to taking a snapshot and then sending it to the tape

Re: Backup and FreeBSD/ZFS

2010-02-04 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04.02.2010 10:39, krad wrote: If you combine snapshoting with a redundant array, and maybe a secondary pool that you zfs send your files ystems to (perhaps on a different box) its questionable whether having stuff on tape has any advantage. If

Re: Backup and FreeBSD/ZFS

2010-02-04 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2010 15:35, Svein Skogen (Listmail Account) wrote: On a monthly rotation the tapes are placed in a firetolerant safe. Since the most critical thing here is the terabyte (and growing!) of original photographs, I'm not thinking about just

Re: Backup and FreeBSD/ZFS

2010-02-04 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04.02.2010 17:57, Matthew Seaman wrote: On 04/02/2010 15:35, Svein Skogen (Listmail Account) wrote: On a monthly rotation the tapes are placed in a firetolerant safe. Since the most critical thing here is the terabyte (and growing!) of

Re: Backup and FreeBSD/ZFS

2010-02-04 Thread Richard Mahlerwein
- Original Message From: Svein Skogen (Listmail Account) svein-listm...@stillbilde.net To: freebsd-questions@freebsd.org Sent: Thu, February 4, 2010 12:14:18 PM Subject: Re: Backup and FreeBSD/ZFS On 04.02.2010 17:57, Matthew Seaman wrote: On 04/02/2010 15:35, Svein Skogen (Listmail

Re: Backup and FreeBSD/ZFS

2010-02-03 Thread Jerry McAllister
On Wed, Feb 03, 2010 at 11:05:06AM +0100, Svein Skogen (Listmail Account) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm currently considering switching my Backend (Running WSS2008 Enterprise) to FreeBSD RELENG_8+zfs, however my last melee with ZFS and backups to Autoloader (HP

Re: Backup and FreeBSD/ZFS

2010-02-03 Thread Goran Lowkrantz
I have been using Amanda straight from the port, it supports both tar from snapshots if you need to be able to retrieve individual files from the backup and zfs send if recovery at filesystem level is OK. --glz --On Wednesday, February 03, 2010 11:05 AM +0100 Svein Skogen (Listmail Account)

Re: Backup and FreeBSD/ZFS

2010-02-03 Thread LoH
If my memory serves, you're looking at something similar to taking a snapshot and then sending it to the tape device, so zfs send snapshot | (tape device access). This, IIRC, is functionally identical to dump/restore. The Solaris ZFS Admin guide is generally helpful (even as we live in the

Re: Backup and FreeBSD/ZFS

2010-02-03 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03.02.2010 19:14, LoH wrote: If my memory serves, you're looking at something similar to taking a snapshot and then sending it to the tape device, so zfs send snapshot | (tape device access). This, IIRC, is functionally identical to

Re: Backup and FreeBSD/ZFS

2010-02-03 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03.02.2010 17:41, Goran Lowkrantz wrote: I have been using Amanda straight from the port, it supports both tar from snapshots if you need to be able to retrieve individual files from the backup and zfs send if recovery at filesystem level is OK.

Re: Backup and FreeBSD/ZFS

2010-02-03 Thread Goran Lowkrantz
Yes, I have three sets running that way, my home systems using a Dell 122 and a 5 rack config at work with a 7x200G Tandberg and a 48 slot 4U IBM beast. All are using the mtx changer scripts that come with Amanda. -glz --On Wednesday, February 03, 2010 8:22 PM +0100 Svein Skogen (Listmail

Re: Backup Size

2009-08-11 Thread Roland Smith
On Mon, Aug 10, 2009 at 09:24:19PM -0500, Jay Hall wrote: On Aug 10, 2009, at 12:09 PM, Roland Smith wrote: The fact that you are using tar also plays a part. Tar has some overhead to store information about the files it contains. Is it possible to calculate the amount of overhead

Re: Backup Size

2009-08-11 Thread Jay Hall
On Aug 11, 2009, at 12:09 PM, Roland Smith wrote: Just execute the tar command, and dump the output to /dev/null through dd: tar -cf - /etc |dd of=/dev/null tar: Removing leading '/' from member names 3160+0 records in 3160+0 records out 1617920 bytes transferred in 0.057690 secs (28045115

Re: Backup Size

2009-08-10 Thread Roland Smith
On Mon, Aug 10, 2009 at 10:21:58AM -0500, Jay Hall wrote: I am sure there is an easy explanation for this, but I cannot find it. I am backing up my /etc directory using the following command. tar -cvf - /etc | dd of=/dev/nsa1 obs=10240 Why are you using dd? Tar was originally built to

Re: Backup Size

2009-08-10 Thread Dan Nelson
In the last episode (Aug 10), Jay Hall said: I am sure there is an easy explanation for this, but I cannot find it. I am backing up my /etc directory using the following command. tar -cvf - /etc | dd of=/dev/nsa1 obs=10240 When the command completes, I receive the following message.

Re: Backup Size

2009-08-10 Thread Roland Smith
On Mon, Aug 10, 2009 at 06:25:28PM +0200, Roland Smith wrote: On Mon, Aug 10, 2009 at 10:21:58AM -0500, Jay Hall wrote: I am sure there is an easy explanation for this, but I cannot find it. I am backing up my /etc directory using the following command. tar -cvf - /etc | dd

Re: Backup Size

2009-08-10 Thread Polytropon
On Mon, 10 Aug 2009 10:21:58 -0500, Jay Hall jh...@socket.net wrote: What concerns me is when running du -h /etc, the size of the folder is reported as 1.7M. Excuse me for being pedantic, but please try to use the correct terminology. There are no folders in FreeBSD. The concept you are

Re: Backup Size

2009-08-10 Thread Jay Hall
On Aug 10, 2009, at 12:09 PM, Roland Smith wrote: The fact that you are using tar also plays a part. Tar has some overhead to store information about the files it contains. Is it possible to calculate the amount of overhead tar will use? Thanks, Jay

Re: Backup Size

2009-08-10 Thread Mel Flynn
On Monday 10 August 2009 18:24:19 Jay Hall wrote: On Aug 10, 2009, at 12:09 PM, Roland Smith wrote: The fact that you are using tar also plays a part. Tar has some overhead to store information about the files it contains. Is it possible to calculate the amount of overhead tar will use?

Re: Backup Size

2009-08-10 Thread Jay Hall
Difficult. 512 bytes per entry + 1024 (EOF). See man 5 tar. But since files will be padded there is some extra overhead. Also, it is hard to calculate hard links and sparse files. Tar will handle these correctly (i.e. preserve hard links and detect sparse files and try not archive blocks

Re: backup files from editor

2009-03-05 Thread Grünewald Michaël
Hi prad, Le 5 mars 09 à 09:15, prad a écrit : editors can produce backup files - eg emacs adds a ~ to the backup file. the backup file keeps getting changed as you make changes to the original so you i'm wondering what the point of them is. Please refer to the Emacs manual (info m Emacs) to

Re: backup msdos slice

2009-03-02 Thread Wojciech Puchar
So, what I would like is something that would dump the MS slice to a FreeBSD file or media written in the FreeBSD world and that I could then pick out files and directories somewhat like I do using restore on a dump file.I suspect that tar might not keep enough meta information to be right

Re: backup msdos slice

2009-03-02 Thread Roland Smith
On Mon, Mar 02, 2009 at 02:10:42PM -0500, Jerry wrote: Hi, I hate to start this potential storm, but... I have a machine with both an MS and FreeBSD slices on it. I can easily back up and recover the FreeBSD slices using dump(8)/restore(8) But, that won't work for the MS slice (which

Re: backup msdos slice

2009-03-02 Thread Polytropon
On Mon, 2 Mar 2009 14:10:42 -0500, Jerry jerr...@msu.edu wrote: So, what I would like is something that would dump the MS slice to a FreeBSD file or media written in the FreeBSD world and that I could then pick out files and directories somewhat like I do using restore on a dump file. There

Re: Backup to spare drive (rsync / crontab)

2009-01-31 Thread drc...@yahoo.com
Adding full path for rsync was the solution. All backups done last night on schedule. Thanks to all that offered advice. D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: Backup to spare drive (rsync / crontab)

2009-01-30 Thread Roland Smith
On Fri, Jan 30, 2009 at 10:37:19AM -0800, drc...@yahoo.com wrote: I am using rsync and crontab to perform scheduled backups on FreeBSD AMD64 Rel. 7.0 I am following process described here for rsync : http://samba.anu.edu.au/rsync/examples.html I have a backup script's created for daily,

Re: Backup to spare drive (rsync / crontab)

2009-01-30 Thread Peter Boosten
drc...@yahoo.com wrote: I am using rsync and crontab to perform scheduled backups on FreeBSD AMD64 Rel. 7.0 I am following process described here for rsync : http://samba.anu.edu.au/rsync/examples.html I have a backup script's created for daily, weekly, monthly. This is one example -

Re: Backup to spare drive (rsync / crontab)

2009-01-30 Thread Peter Boosten
Peter Boosten wrote: path in the script, of add /usr/local/bin to your crontab. ^^ or Sometimes the Dutch language emerges :-) -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list

Re: Backup to spare drive (rsync / crontab)

2009-01-30 Thread Steve Bertrand
drc...@yahoo.com wrote: I am using rsync and crontab to perform scheduled backups on FreeBSD AMD64 Rel. 7.0 I am following process described here for rsync : http://samba.anu.edu.au/rsync/examples.html I have a backup script's created for daily, weekly, monthly. This is one example -

Re: Backup to spare drive (rsync / crontab)

2009-01-30 Thread Mel
On Friday 30 January 2009 10:28:48 Peter Boosten wrote: drc...@yahoo.com wrote: #daily backup script rsync -a --delete /usr/home/data/Access/ /backup/daily/Access rsync -a --delete /usr/home/data/Templates/ /backup/daily/Templates rsync -a --delete /usr/home/QBdata/ /backup/daily/QBdata

Re: Backup to spare drive (rsync / crontab)

2009-01-30 Thread Eric Zimmerman
On Fri, January 30, 2009 11:37 am, drc...@yahoo.com wrote: I am using rsync and crontab to perform scheduled backups on FreeBSD AMD64 Rel. 7.0 I am following process described here for rsync : http://samba.anu.edu.au/rsync/examples.html You should check out the rsnapshot port. it does what

Re: Backup to spare drive (rsync / crontab)

2009-01-30 Thread Peter Boosten
On Jan 30, 2009, at 22:28, Eric Zimmerman e...@mikestammer.com wrote: On Fri, January 30, 2009 11:37 am, drc...@yahoo.com wrote: I am using rsync and crontab to perform scheduled backups on FreeBSD AMD64 Rel. 7.0 I am following process described here for rsync :

Re: Backup program on FreeBSD for DLT drive

2009-01-23 Thread Frank Bonnet
Hi The bakbone company sells a software called NETVAULT if I remember well it works under FreeBSD bsd wrote: Yes, This is probably the one I'll go for… There is a good hack described in the O'Reilly BSD hacks to setup Bacula… I'll consider this article as a starting point… Thank you

Re: Backup program on FreeBSD for DLT drive

2009-01-23 Thread Odhiambo Washington
On Thu, Jan 22, 2009 at 10:30 PM, bsd b...@todoo.biz wrote: Hello, I am using a FreeBSD server 7.0 as a Samba server and wanted to backup this server using Quantum DLT tape. less /scripts/backup2tape.sh #!/bin/sh TARGET=/dev/nsa0 # FILESYSTEMS=/:/var:/usr FILESYSTEMS=/ DUMPLEVEL=0

Re: Backup program on FreeBSD for DLT drive

2009-01-23 Thread Jerry McAllister
On Fri, Jan 23, 2009 at 08:06:43AM +0100, bsd wrote: Yes, This is probably the one I'll go for? There is a good hack described in the O'Reilly BSD hacks to setup Bacula? I don't understand. Why hack when dump already works just right? jerry I'll consider this article as a

Re: Backup program on FreeBSD for DLT drive

2009-01-22 Thread bsd
Well I have installed It but I find It quite confusing to configure… so I have just stopped; The problem is that I don't have a lot of time to really get into it… Did you use any good pointer or just take time to learn It the standard way… ?? I found It quite hard to configure to tell the

Re: Backup program on FreeBSD for DLT drive

2009-01-22 Thread Chuck Swiger
On Jan 22, 2009, at 11:30 AM, bsd wrote: I am using a FreeBSD server 7.0 as a Samba server and wanted to backup this server using Quantum DLT tape. I would need a simple tool that could be configured rapidl at that's stable enough to provide high security for the data. Ideally any good

Re: Backup program on FreeBSD for DLT drive

2009-01-22 Thread Roland Smith
On Thu, Jan 22, 2009 at 08:30:56PM +0100, bsd wrote: I am using a FreeBSD server 7.0 as a Samba server and wanted to backup this server using Quantum DLT tape. I would need a simple tool that could be configured rapidl at that's stable enough to provide high security for the data.

Re: Backup program on FreeBSD for DLT drive

2009-01-22 Thread Geoff Fritz
On Thu, Jan 22, 2009 at 08:30:56PM +0100, bsd wrote: Hello, I am using a FreeBSD server 7.0 as a Samba server and wanted to backup this server using Quantum DLT tape. I would need a simple tool that could be configured rapidl at that's stable enough to provide high security for the

Re: Backup program on FreeBSD for DLT drive

2009-01-22 Thread bsd
Yes, This is probably the one I'll go for… There is a good hack described in the O'Reilly BSD hacks to setup Bacula… I'll consider this article as a starting point… Thank you very much folks. Le 23 janv. 09 à 04:21, Geoff Fritz a écrit : On Thu, Jan 22, 2009 at 08:30:56PM +0100, bsd

Re: Backup complete gmirror/gstripe/gjournal drives, how-to?

2008-12-08 Thread Ivan Voras
Doug Poland wrote: Hello, I've got a 7.1-PRERELEASE i386 box with 4 SATA drives configured in a RAID-10 using gmirror, gstripe, and gjournal. Normally, I use dump and rsync for periodic backups on this machine, but I suspect that the gmirror/gstripe/gjournal information is not being backed

Re: Backup complete gmirror/gstripe/gjournal drives, how-to?

2008-12-06 Thread Wojciech Puchar
periodic backups on this machine, but I suspect that the gmirror/gstripe/gjournal information is not being backed up. If my assumption is correct, how can I perform a one-time backup such that I could do a bare-metal restore? The essence of the question being I want to assuming you do

  1   2   3   4   >