On Friday 18 of December 2020 13:58:45 Gene Heskett via tde-users wrote: > On Friday 18 December 2020 04:48:22 Slávek Banko via tde-users wrote: > > 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? > Yes, there is a problem that the backup runs under a different user than the one whose dcop server you need to communicate with. This continues in the thread: Amrecover hangs after restore https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx/thread/EBS42BSZZZ2RAACOBB32W7LK5DUGQBCP/ > > > regards > > > > > > ____________________________________________________ > > > > Cheers > > Cheers, Gene Heskett Cheers -- Slávek
Attachment:
signature.asc
Description: This is a digitally signed message part.
____________________________________________________ tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx