Tomasz Chmielewski wrote:
> Dan Langille schrieb:
>> Tomasz Chmielewski wrote:
>>> Dan Langille schrieb:
>>>> Bacula will backup everything in a Full backup.
>>> Hmm, does "Bacula will backup everything in a Full backup" mean "it
>>> will transfer *everything* over network, even if the same files in the
>>> same location were in the previous full backup?
> That's a bit unfortunate for those doing backups over the Internet,
> isn't it?
I do such backups all the time. If you don't like it, do one full
backup, keep it forever, then do only Incr/Diff. :)
>>>> For the next Incremental or Differential, it uses mtime. That is,
>>>> the last time the file was modified. If the mtime has not changed,
>>>> the file will not be backed up, regardless of name.
>>>> So, for your example: if the file is copied, mtime [usually] changes.
>>>> So it will be included in the next inc/diff backup. Renaming a file
>>>> does not change mtime. Therefore the renamed file will not be
>>>> included in the next inc/diff backup.
>>>> Referring to another post of yours: the "accurate restore" mentioned
>>>> by Frank will still continue to backup files that are identical.
>>>> That is, if you have 10 files that contain identical content, all ten
>>>> will be backed up.
>>> Yes, I also expect to find all these files in backup.
>>> The problem is, I don't want to transfer all these files again and
>>> again if the same file is already in the pool.
>> A full backup, by definition, backs up all files.
> Of course, but a smart approach (i.e. similar to what rsync does) would
> result in faster backups: only transfer new/changed files, even when you
> make a full backup.
> This way, you can do full backups every day and they are as fast as
> incremental backups.
Smart, in this case, being a subjective term.
Yes. That would be wonderful. But it also raises other issues. I
suggest searching the archives for rsync and catch up on the previous
discussions on this topic.
The existing Bacula approach was not taken lightly.
This issue is partly covered by the "accurate restore" project.
As for doing an rsync type backup, there are many issues associated with
that. It appears simple on the surface, but as you get into it, it
become much more complex very quickly. Such discussions are best left
to another thread. See archives.
BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon - The PostgreSQL Conference: http://www.pgcon.org/