I'm using: ocs-sr -g auto -e1 auto -e2 -j2 -batch -p poweroff savedisk nvme0n1
Which works great and after backupping the pc goes off as intended. Because I do backups at night and I don't want the machine to keep running when it is done.
But how can I store the logfile to check if everything went well? I know I can find it in /var/log/clonezilla but of course not after poweroff.
Is there a way to simply store the log into the image destination? Seems like a simple option?
Or and this could work very well too. If there is an error while checking the image if it is restoreable, will the poweroff not go through and then I will find the PC still running the next morning? That would work as well.
Last edit: Ollie Mano 2025-08-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually the process is saved in the image dir. You can check the file "clonezilla-img". It's a plain text file so you can use any text editor or less/more command under GNU/Linux to read its content.
If you choose the put the log to Clonezilla live USB stick, Clonezilla will put the log files in the dir ocslog-*, say ocslog-20250111-1705.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using:
ocs-sr -g auto -e1 auto -e2 -j2 -batch -p poweroff savedisk nvme0n1
Which works great and after backupping the pc goes off as intended. Because I do backups at night and I don't want the machine to keep running when it is done.
But how can I store the logfile to check if everything went well? I know I can find it in /var/log/clonezilla but of course not after poweroff.
Is there a way to simply store the log into the image destination? Seems like a simple option?
Or and this could work very well too. If there is an error while checking the image if it is restoreable, will the poweroff not go through and then I will find the PC still running the next morning? That would work as well.
Last edit: Ollie Mano 2025-08-12
Actually the process is saved in the image dir. You can check the file "clonezilla-img". It's a plain text file so you can use any text editor or less/more command under GNU/Linux to read its content.
If you choose the put the log to Clonezilla live USB stick, Clonezilla will put the log files in the dir ocslog-*, say ocslog-20250111-1705.