SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Probem with samba backups
Author Message
Post Probem with samba backups 
Hi,

Last night I was playing around with BackupPC and a have found quite a
large bug in the smb Xfer method. I have found that NEW files do not get
backed up on in incremental backup with a modified date older than the
last backup. Now you may be wondering how you could end up with the
modified date older than the creation date, it happens when you have more
than one partiton on a windows box and you copy or move an old file to th=
e
c:\ from say the d:\. This may not cause any problems for most of you,
but, this is a major flaw in functionality.

This may be a possible solution to this problem:
Before I found BackupPC I was investigating using rsync to backup the
macines with samba. I did this by mounting the remote machine to a
directory (mount -t smb //example/c$ /mnt/backuppc) and then running rsyn=
c
on the mount point, this worked quite well.

Regards
Geoffrey McRae
http://www.spacevs.com


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Probem with samba backups 
Geoffrey McRae writes:

Last night I was playing around with BackupPC and a have found quite a
large bug in the smb Xfer method. I have found that NEW files do not get
backed up on in incremental backup with a modified date older than the
last backup. Now you may be wondering how you could end up with the
modified date older than the creation date, it happens when you have more
than one partiton on a windows box and you copy or move an old file to the
c:\ from say the d:\. This may not cause any problems for most of you,
but, this is a major flaw in functionality.

Right near the top of the documentation you will see:

Incremental Backup

An incremental backup is a backup of files that have changed
(based on their modification time) since the last successful
full backup. For SMB and tar, BackupPC backs up all files that
have changed since one hour prior to the start of the last
successful full backup. Rsync is more clever: any files whose
attributes have changed (ie: uid, gid, mtime, modes, size)
since the last full are backed up. Deleted and new files are
also detected by Rsync incrementals (SMB and tar are not able
to detect deleted files or new files whose modification time
is prior to the last full dump).

Look in the todo list for various suggestions for improving
incremental backups (eg: search for FileSys::SmbClient).

This may be a possible solution to this problem:
Before I found BackupPC I was investigating using rsync to backup the
macines with samba. I did this by mounting the remote machine to a
directory (mount -t smb //example/c$ /mnt/backuppc) and then running rsync
on the mount point, this worked quite well.

More directly, you can also run rsync directly on the WinXX client.
That will generate a lot less network traffic than using mount and
running rsync on another machine.

Craig


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB