Hi Stefan, We also do backups of VMs, ours to fiber backed storage attached to our Solaris systems (that is the short version anyway). We have a fabric rather than a NAS.
We are or where backing that up using amanda, I'd have to look and see if we where still doing it, but we where not segragating our backups out the way you are talking about. Simple solution ? Put all the new backups into a (sub)directory and allow amanda to back that up. When amanda completes, or shortly before the new VM dump starts again, move those backups into their archive directory and purge using the same routines you use now. --the new tarballs have new names ? The existing tar balls aren't renamed, are they ? best, Brian On Tue, Nov 29, 2011 at 11:13:09AM +0100, Stefan G. Weichinger wrote: > > Dear amanda-users, > > maybe one of you has a good idea or even solution for the following task: > > At a customer we run a specific backup-tool that pushes tarballs > containing VMware-VMs (their vmx/vmdk-files) to a network-share (CIFS) > which is hosted on a NAS (Fujitsu Q800). > > There are several backups for each VM, which are rotated every day > (oldest gets deleted etc). So the names of the tarballs are changing all > the time. > > I now want to pull only the latest tarball of each VM (=subdir) into > amanda and dump it to tape. > > How to approach that? > > Using the smbclient-mechanism of amanda ... ? This only gives me limited > possibilities. I would have to write a specific shell-script maybe: > > mount.cifs $share ... > run some find-commands to generate include-list(s) > amdump ... > > I think this will be the way to go but maybe I think too complicated? > > would love to hear your ideas on this. > > Stefan > > ----- > > info: > > An example for such a subdir: > > \windb01_4233d10a-fb17-eebd-6608-463903ecba79\> ls > > windb01_20111120_025339_a380e7ea-3e2a-4f84-a0c4-c584b43f625e D > 0 Sun Nov 20 09:20:32 2011 > windb01_20111009_011648_a380e7ea-3e2a-4f84-a0c4-c584b43f625e D > 0 Sun Oct 9 05:21:20 2011 > windb01_20111127_025818_a380e7ea-3e2a-4f84-a0c4-c584b43f625e D > 0 Sun Nov 27 09:23:22 2011 > windb01_20111114_013018_297ea745-1d66-4371-9fd2-729119505429 D > 0 Tue Nov 22 01:49:38 2011 > windb01_20111123_055931_297ea745-1d66-4371-9fd2-729119505429 D > 0 Tue Nov 29 01:49:24 2011 > windb01_20111030_004030_a380e7ea-3e2a-4f84-a0c4-c584b43f625e D > 0 Sun Oct 30 03:35:44 2011 > windb01_20111113_024647_a380e7ea-3e2a-4f84-a0c4-c584b43f625e D > 0 Sun Nov 13 09:15:58 2011 > windb01_20111106_020120_a380e7ea-3e2a-4f84-a0c4-c584b43f625e D > 0 Sun Nov 6 05:52:08 2011 > windb01_20111122_220017_b4a0d065-b661-46ca-931d-7afc9e5933ff D > 0 Mon Nov 28 22:58:04 2011 > windb01_20111111_220018_b4a0d065-b661-46ca-931d-7afc9e5933ff D > 0 Mon Nov 21 23:02:24 2011 > windb01_20111007_010022_0743f374-242b-4339-8a35-41892e413bb1 D > 0 Fri Nov 18 01:11:32 2011 > windb01_20111125_035911_0743f374-242b-4339-8a35-41892e413bb1 D > 0 Fri Nov 25 04:21:36 2011 > windb01_20111016_010550_a380e7ea-3e2a-4f84-a0c4-c584b43f625e D > 0 Thu Nov 10 09:01:56 2011 > windb01_20111023_002856_a380e7ea-3e2a-4f84-a0c4-c584b43f625e D > 0 Sun Oct 23 04:27:38 2011 --- Brian R Cuttler [email protected] Computer Systems Support (v) 518 486-1697 Wadsworth Center (f) 518 473-6384 NYS Department of Health Help Desk 518 473-0773 IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.
