• 3 Posts
  • 5 Comments
Joined 2 years ago
cake
Cake day: August 24th, 2023

help-circle


  • Cute! 😀

    It mostly works. I think line 103 should maybe be:

    os.remove(os.path.join(cdata, "teat.txt"))
    

    So, “teat.txt” instead of “eat.txt”. I think this prevents the cat from ever getting happy since that line causes an error and it never reaches image.set_from_file(os.path.join(current_dir, "data/happy.png")) which is very sad!

    Actually, you may just want to catch the error if the file happens to not exist. Like this:

        try:
            os.remove(os.path.join(cdata, "teat.txt"))
        except FileNotFoundError:
            pass
    




  • I have two machines that back up to a local server using Borg. That whole server in turn backs up to Jottacloud using restic with encryption enabled.

    By the way, I wouldn’t use rclone for backups. Use restic or something similar that does incremental backups. Because if you do rclone and then later discover that some files were corrupted locally, then your files are gone. With incremental backups you would still be able to retrieve them.

    Oh, or do you mean backing up the stuff that is on the cloud?