On Friday 18 of December 2020 10:35:09 deloptes
via tde-users wrote:
Gene Heskett via tde-users wrote:
Is there a dbus command my amanda script can send
to tell amanda
to hold off expiry till amanda is done?
Might be over an hour of expiry holdoff needed at times.
Hi Gene,
don't know about Amanda and dbus, but the best way to do a backup
(nowdays) is to make a snapshot of the LVM and do the backup from
the snapshot. You have to have some spare space - for the snapshot
to work. I am planning myself to start doing this at home next year
- but I need to do the calculations first and probably add/replace
some disks. I am excited of how this works in production (the backup
solution I worked with is proprietary one). It does backup VMs and
DBs while they are operating and total disk space backuped is in
TBs.
Keep in mind: (as we usually say) it is not only the making of the
backup, but the ability to restore.
Snapshot is a good option. Using LVM is a useful thing :)
BTW kmail does not know dbus (AFAIK)
KMail does not have dbus, but uses DCOP.
You can use kdcop to explore DCOP calling options. For kmail I see
there KMailIface and pauseBackgroundJobs / resumeBackgroundJobs
functions that look like they might be useful for you.
Yes, that sounds very usefull, thank you Slávek.
But since the amanda scripts all runs uid:gid as amanda:backup, but all
my mail stuff runs as me, can dcop reach across those ownership changes
and get that done? Or will I have to put that in the root crontab that
does it all?