|
|||||||
| Amanda documentation | MySQL Backup documentation | Amanda downloads | ZRM downloads | BackupPC downloads | Amanda list archive |
![]() |
|
|
Thread Tools | Display Modes |
|
#11
|
|||
|
|||
|
Hi martineau,
Quote:
Hope this makes sense ;-) There is still a failure mode when there will be an lost current snapshot that is not removed if the client crashes before amanda finishes and we may need to remove that in the zfs_purge_snapshot as we otherwise will have one failed backup before the client is in sync again. /glz Last edited by glowkrantz; January 16th, 2009 at 04:48 AM. Reason: More info |
|
#12
|
|||
|
|||
|
Hi Nick,
Quote:
This method is anyhow faster than with snapshot/gtar, especially on compressed filesystems. We have a few of them, handling Oracle and PostgreSQL backups and logs and with 2.2 times compression ratio on 30 to 40G referenced, it's almost a factor of 3. I have no actual numbers for my test system just now but I was able to go back to the default etime when I switched from snapshot/gtar to this setup. /glz |
|
#13
|
|||
|
|||
|
Quote:
I'll play around a bit more and see if examining both the used and refer values for all the snapshots we can get a solution. Not directly related but of interest: I asked the zfs-discuss mailing list about what output 'zfs send -v snapshot-name' should produce and got the following : Quote:
Nick |
|
#14
|
|||
|
|||
|
Quote:
Do you remember what was invalid? Did it was a dump to holding disk or direct to tape? Do the backup was successful but the server was not able to save it to holding disk or tape? Or it was a zfs error and zfs didn't sent the error to the server? Or something else? |
|
#15
|
|||
|
|||
|
I think you are correct, this is not a problem. My failed sequence was probably due to a bug in the original script I had and after getting that right, I never removed the purge phase. The way it's done now will force Amanda to go one level lower than needed after a failed backup. The purge was originally there to remove any stray current snapshots but got changed while I was testing the scripts to do the delete of the expected snapshot.
I have created a new version working the expected way, I will submit it as soon as it has a few backups under it's belt. /glz |
|
#16
|
|||
|
|||
|
I committed your previous patch with many fix.
If you want to send me a new patch, send it relative to the current source tree. |
|
#17
|
|||
|
|||
|
While testing 20090122, I have found one more thing and that's the level 0 estimate on a compressed file system. We need to multiply with the compression ration to get closer to the actual backup size.
Attached patch adds this to the estimate call. Otherwise, this seems to be working just fine. /glz Last edited by glowkrantz; January 26th, 2009 at 09:52 PM. Reason: Better english, spelling |
![]() |
| Thread Tools | |
| Display Modes | |
|
|