Closed nicofrand closed 6 years ago
Hi nicofrand,
you're right, it should not make a real backup if it fails the temporary one.
It's here https://github.com/maniackcrudelis/archivist/blob/master/archivist.sh#L311 As soon as I can do that, I will add an if here with a return 1.
Thanks !
BTW, I was wondering why "Make a real backup" was not simply doing a cp
or mv
of the temp backup, to be faster ?
Because, the temporary backup is not compressed, and some files are missing. This backup is designed only for performing a checksum of all the files.
Fixed here https://github.com/maniackcrudelis/archivist/commit/6a02856d17275beea0f9dd0c757ee95cdd6255cf
I'll upgrade this package with the next upgrade (incoming)
Upgraded https://github.com/YunoHost-Apps/archivist_ynh/commit/6ccd8ba2435a7face219e36383409ef40d969a61 Should be ok now.
Hi,
I launched
/opt/yunohost/archivist/archivist.sh
after removing my Laverna app, and without editing the conf file (yeah, I should have, I simply forgot). I already made a backup with archivist, some weeks ago.Here is the output:
If "Make a temporary backup" fails, maybe we should not run "Make a real backup" ?