Re: Backup over the internet.

2003-07-15 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 15 July 2003 14:29, Alvin Gunkel wrote:
> I've been using a program called rdiff-backup (
> http://rdiff-backup.stanford.edu/ ), based on librsync.  This package
> creates a mirror of your server (or any portion thereof) on a remote
> server, and keeps track of changes.  It only sends changes (ie diff)
> across the wire, including binaries, so after the initial copy it's
> pretty bandwidth efficient.
> It's not in ports ( or wasn't recently ) and takes a little extra
> work to build it, but IMHO it's well worth the effort.

Is now :)
I'm using it too and it works great.

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/E/0tY3Hnhkr+5cQRAhClAJ9thjTvh1NthhCgFbjLGLGwhqxUDgCfTSlg
l93Len1/NHGA8ae1mYddg7A=
=vdFH
-END PGP SIGNATURE-

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


Re: Backup over the internet.

2003-07-15 Thread Alvin Gunkel
I've been using a program called rdiff-backup (
http://rdiff-backup.stanford.edu/ ), based on librsync.  This package
creates a mirror of your server (or any portion thereof) on a remote
server, and keeps track of changes.  It only sends changes (ie diff)
across the wire, including binaries, so after the initial copy it's pretty
bandwidth efficient.

It's not in ports ( or wasn't recently ) and takes a little extra work to
build it, but IMHO it's well worth the effort.

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


Re: Backup over the internet.

2003-07-15 Thread Mike Tancsa
Something piped through ssh using DSA keys.

e.g.

on the machine which you want backed up (client) to the machine where the 
backup file lives,

client machine:
su root
# if you have not yet created your ssh keys, do so now
ssh-keygen -d
on the server machine,

pw useradd clientmachineid -m
su clientmachineid
cd ~clientmachineid
ssh-keygen -d
cd .ssh
# from the client machine, put the root's id_dsa.pub and ONLY the .pub file 
here under the name authorized_keys2

#on the client machine,

ssh [EMAIL PROTECTED]

#if all goes well, you will login without a password.

Now the backups.

If you need to preserve file access times and want to do incremental 
backups, use dump. If you dont care about munging file access times, and 
its just simple files, tar will work.

/sbin/dump -0uan -f - / | gzip -9 | /usr/bin/ssh -2 -c blowfish 
[EMAIL PROTECTED] dd 
of=/pathtohomedirectory/clientmachineid/dump-root-l0.gz

/usr/bin/tar -cpzf - /usr/local/etc /etc/mail/ | ssh -c blowfish 
[EMAIL PROTECTED] "cat - > 
/pathtohomedirectory/clientmachineid/backup.`date "+%d"`.tgz"

Blowfish is a bit faster than the others so I specify it.

---Mike

At 09:08 AM 7/15/2003 +, DanB wrote:
What is the easy way to back up over the internet? What software should
be used?
Dan

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

Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,[EMAIL PROTECTED]
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup over the internet.

2003-07-15 Thread DanB
As I understand it dump will not backup everything reading the Freebsd book. I
have a 1.5Mbps connection.   Files seems to be about 3.1 Gigs each on 4
different machines .  I have a freebsd box with extra 12 Gigs of space that I
can save to. I would like to save to a cd writer on the same machine it is  a
Liton CDRW but that other task getting it running to copy.  I think if I had a
choice
I would have my installation on a cd for the ports and freebsd I need. Then
save the data only.

Dan

Matthew Seaman wrote:

> On Tue, Jul 15, 2003 at 09:08:15AM +, DanB wrote:
> > What is the easy way to back up over the internet? What software should
> > be used?
>
> That's a rather vague question, which makes it pretty hard to give a
> sensible answer, I'm afraid.
>
> Ease is a very subjective thing.  There's certainly many more than one
> way of achieving such tasks, many of which seem about equally easy to
> me. Pretty much every Unix utility ever designed to copy the contents
> of a filesystem onto a tape drive has the capability to access a
> remote tape.  Even more: any utility capable of copying files from one
> machine to another could be considered usable for backup purposes.
>
> Generally copying the files from machine to machine is only half the
> problem.  Setting up a backup schedule, making the backups run
> automatically and unattended, testing that your backups are actually
> fit for purpose (it's amazing how many people have only found out that
> their tape drive had malfunctioned and wasn't writing anything on the
> tapes at the point of trying to recover a crashed system...)
> etc. etc. All need to be considered.
>
> I can certainly point you at some manual pages for some commonly used
> software.  See:
>
> dump(8)
> tar(1)
> scp(1)
> rsync(1)   [ports: net/rsync, http://rsync.samba.org/]
> amanda [ports: misc/amanda-server, misc/amanda-client
> http://sourceforge.net/projects/amanda/]
>
> See also the SSH FAQ on how to set up ssh(1) (which all of dump(1),
> scp(1) and rsync(1) run on top of) to do unattended logins:
>
> http://www.snailbook.com/faq/no-passphrase.auto.html
>
> Perhaps you would like to restate your question with a lot more detail
> about exactly what you want to do and what your constraints are. Such
> things as: how much data you have to backup; bandwidth limitations
> between your server and where you're backing it up to; what sort of
> device you're writing to; security requirements -- can the data be
> transmitted across the internet in plaintext, or does it have to be
> encrypted?  Can it be stored on the backup medium unencrypted? How can
> you authenticate yourself to the backup server?
>
> Cheers,
>
> Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 1TH UK
>
>   
>Part 1.2Type: application/pgp-signature

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


Re: Backup over the internet.

2003-07-15 Thread Matthew Seaman
On Tue, Jul 15, 2003 at 09:08:15AM +, DanB wrote:
> What is the easy way to back up over the internet? What software should
> be used?

That's a rather vague question, which makes it pretty hard to give a
sensible answer, I'm afraid.

Ease is a very subjective thing.  There's certainly many more than one
way of achieving such tasks, many of which seem about equally easy to
me. Pretty much every Unix utility ever designed to copy the contents
of a filesystem onto a tape drive has the capability to access a
remote tape.  Even more: any utility capable of copying files from one
machine to another could be considered usable for backup purposes.

Generally copying the files from machine to machine is only half the
problem.  Setting up a backup schedule, making the backups run
automatically and unattended, testing that your backups are actually
fit for purpose (it's amazing how many people have only found out that
their tape drive had malfunctioned and wasn't writing anything on the
tapes at the point of trying to recover a crashed system...)
etc. etc. All need to be considered.

I can certainly point you at some manual pages for some commonly used
software.  See:

dump(8)
tar(1)
scp(1)
rsync(1)   [ports: net/rsync, http://rsync.samba.org/]
amanda [ports: misc/amanda-server, misc/amanda-client
http://sourceforge.net/projects/amanda/]

See also the SSH FAQ on how to set up ssh(1) (which all of dump(1),
scp(1) and rsync(1) run on top of) to do unattended logins:

http://www.snailbook.com/faq/no-passphrase.auto.html

Perhaps you would like to restate your question with a lot more detail
about exactly what you want to do and what your constraints are. Such
things as: how much data you have to backup; bandwidth limitations
between your server and where you're backing it up to; what sort of
device you're writing to; security requirements -- can the data be
transmitted across the internet in plaintext, or does it have to be
encrypted?  Can it be stored on the backup medium unencrypted? How can
you authenticate yourself to the backup server?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Backup over the internet.

2003-07-15 Thread Johan Paul
On Tue, 15 Jul 2003, DanB wrote:

> What is the easy way to back up over the internet? What software should
> be used?

I have been using afbackup (http://sourceforge.net/projects/afbackup/) 
with Linux for the past two years. I saw in the ports tree and I would go 
with it (haven't though tried the software that the others have 
recommended).  

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


Re: Backup over the internet.

2003-07-15 Thread Dirk-Willem van Gulik


On Tue, 15 Jul 2003, Nico Meijer wrote:

> > What is the easy way to back up over the internet? What software
> > should be used?
>
> You *could* use rsync. Performed over ssh, this enables you to backup
> quickly and safely, depending on what you'd like to backup. It's a
> killer tool, AFAIAC.
>
> http://rsync.samba.org/ and I guess `man rsync`.

amanda (www.amanda.org, or from ports) does a fine job if you have
multiple machines which needs to be backed-up.

Dw.

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


Re: Backup over the internet.

2003-07-15 Thread Nico Meijer
Hi Dan,

> What is the easy way to back up over the internet? What software
> should be used?

You *could* use rsync. Performed over ssh, this enables you to backup
quickly and safely, depending on what you'd like to backup. It's a
killer tool, AFAIAC.

http://rsync.samba.org/ and I guess `man rsync`.

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