-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not a Issue but I wasn't able to create a PR .... #42
Comments
Haaaa, I didn't check properly .. "echo" is used to populate files too. |
Hi I'm not sure to understand what you're really trying to achieve. If you want to have a date between each backup, maybe you can try to use the pre backup commands. In any case, a simple |
I have added the time in front of each step of the backup. My log looks this now: `jeudi 7 octobre 2021, 10:20:03 (UTC+0200) 10:20:03 : > Backup YunoHost core and apps 10:20:03 : > Backup hooks used: conf_ldap10:20:03 : >> Make a temporary backup for ynh_core_backup 10:25:51 : >>> This backup is different than the previous one ... 10:52:33 : >> Make a temporary backup for nextcloud_backup 12:28:56 : >>> This backup is different than the previous one 12:28:56 : >>>> Make a real backup for nextcloud_backup 73G /home/yunohost.app/archivist/backup/ynh_backup/nextcloud_backup.tar.gz 15:55:21 : >>> This backup is different than the previous one 15:55:21 : >>>> Make a real backup for opensondage_backup 5,3M /home/yunohost.app/archivist/backup/ynh_backup/opensondage_backup.tar.gz 15:55:47 : >>> This backup is different than the previous one 15:55:47 : >>>> Make a real backup for roundcube_backup 33M /home/yunohost.app/archivist/backup/ynh_backup/roundcube_backup.tar.gz 15:56:09 : >>> This backup is different than the previous one 15:56:09 : >>>> Make a real backup for shaarli_backup 18M /home/yunohost.app/archivist/backup/ynh_backup/shaarli_backup.tar.gz 15:56:17 : >>> This backup is different than the previous one 15:56:17 : >>>> Make a real backup for shellinabox_backup 12K /home/yunohost.app/archivist/backup/ynh_backup/shellinabox_backup.tar.gz 15:56:23 : >>> This backup is different than the previous one 15:56:23 : >>>> Make a real backup for slingcode_backup 768K /home/yunohost.app/archivist/backup/ynh_backup/slingcode_backup.tar.gz 15:56:29 : >>> This backup is different than the previous one 15:56:29 : >>>> Make a real backup for unattended_upgrades_backup 24K /home/yunohost.app/archivist/backup/ynh_backup/unattended_upgrades_backup.tar.gz 15:56:33 : Remove old archive /ynh_backup/searx_backup.tar.gz 15:56:33 : Remove old archive /ynh_backup/zabbix_backup.tar.gz -> Build the list of files for the recipient local |
Oh ok, so you would like to have a timestamp before each line printed by the script ? |
Please do try with the script |
I have to do few more test as the script archivist.sh is running fine, and I have timestamp. |
With the original archivist.sh script, the sender works fine. Thanks ! |
I didn't change anything about the sender, so it shouldn't be a problem. |
The error come probably from rsync as it stops at this moment.
Is it possible that some list has been modified by the archiviste.sh script ? |
Hi @6-ril, sorry for the delay. I did try on my own with my instance of Archivist. All my files have been transferred to the distant server. But it was the encrypted version of the files that the scrip sent. Is it the same for you ? |
Hi @maniackcrudelis, no pb there's no hurry. I don't use the encrypted version of the files. |
Hi,$(date +%T) ": $ @"
I add this at the beginning of archivist.sh :
echo() {
command echo
}
So the log show the time before each step and I can see how slow is my server when doing backup !!
If you mind, please add it to your script.
Cheers,
Cyril
The text was updated successfully, but these errors were encountered: