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

Reply via email to