Menu

Save log file to image location

Ollie Mano
2025-08-12
5 days ago
  • Ollie Mano

    Ollie Mano - 2025-08-12

    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
  • Steven Shiau

    Steven Shiau - 5 days ago

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.