Re: Streamlined application/script development [Re: coding an Application in perl]

Jean-Louis Martineau <[email protected]> Fri, 1 Sep 2017 13:35:59 -0400
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
Looking at some scripts and applications.

amsvnmakehotcopy:

 1. No need for a SVNREPOSITORY repository.
 2. The diskdevice must be the SVNREPOSITORY value.
 3. Need a TMPDIR property of where to do the temporary hotcopy.
 4. The hotcopy must be done in $TMPDIR/quote_string(diskdevice), that
    way, you can have multiple amsvnmakehotcopy that use the same TMPDIR.
 5. It could have an INCREMENTAL property to make the hot copy faster.
 6. Must OUTPUT the DIRECTORY property


amopaquetree:

 1. Must use the DIRECTORY property if set.
 2. I like the idea of backing up only a section of a file, but the cost
    of keeping a copy is huge.


amgtar:

 1. We could add an OPAQUE property to amgtar to not list all files in
    the index.


amgrowingfile:

 1. Could keep a md5sum of the backed section of the file to verify it
    was not modified.
 2. If modified, it should output the following line to the MESG stream
    and exit, it tell amdump to retry the dump immediately at level 0
      * sendbackup: retry delay 0 level 0 message \"File was reset\"\n


amgrowingzip

 1. same comment as amgrowingfile
 2. Is there a race if you do the backup at the same time a process
    append to the archive? Maybe it will not find the central directory?

Jean-Louis
This message is the property of CARBONITE, INC. and may contain confidential or privileged information.
If this message has been delivered to you by mistake, then do not copy or deliver this message to anyone.  Instead, destroy it and notify me by reply e-mail