I used chatGPT to work up a backup program that tracked rsync backups as I wanted and could report which backups needed to be run and which ones should be started fresh because too many rsync runs from my home dir to the target dir. It’s call Loci, and it’s on codeberg.
My system came with Python3 installed. Debian 12.
Ah, Improvements!
Looks like a line by line translation from the python. Will you use it to backup your home directory?
@[email protected] I see what you’re asking. You’re wondering if, instead of storing a duplicate file when another backup set already contains it, I could use a hardlink to point to the file already stored in that other set?
I have a system where I create a backup set for each day of the week. When I do a backup for that day, I update the set, or if it’s out of date, I replace it entirely with a fresh backup image (After 7 backups to that set). But if the backup sets became inter-dependent, removing or updating one set could lead to problems with others that rely on files in the first set.
Does that make sense? I am asking because I am not familiar with the utilities you mentioned and may be taking your post wrong.
Especially one that lets you know how long it’s been since you took time to run a backup, keeps track of which set of backups could be updated, and which should be refreshed, and keeps a log file up to date and in .csv format so you can mess with it in a spreadsheet?
That’s ok Like any landing you can walk away from. Any code that runs to spec is good, much could be better.
Yeah, no problem… I started out with just bare rsync - but I did the backup infrequently and needed my notes to know the command. Then I wrote a simple shell script to run the rsync for me. Then I decided I needed more than one backup, redundancy is good. Then I wanted to keep track of the backups so I had it write to .backuplog then that file started getting dated (every time I run a “sun” backup the record of the previous one is useless) so Finally TaDa! loci is born.
It’s also to help me learn python. And it works for me. : ^ )
Like Beer, AI is the cause, and the solution of all our problems. – Homer Simpson
Too bad you can’t post a usage notice that anything scrapped to train an AI will be charged and will owe $some-huge-money, then pepper the site with bogus facts, occasionally ask various AI about the bogus fact and use that to prove scraping and invoice the AI’s company.
–some-- free users. unless I have to upgrade - free for a month and then $19.99 a month after that. nope.
We are not talking Daylight Savings Time are we? It would be great if we would just stick to one time and not change from savings to not savings. Japan, I think, split the difference, they went 1/2 hour and stayed there.
A minister whose job is to promote AI and also promote Privacy - seems like a built-in conflict of interests.
It did add some superlatives, almost as though it had an ego.
Tell me more. Why?
However, in the art arena AI is frustrating when you need a very specific image and not just a ‘a tree a dog a bird and a farmhouse’ AI art is getting better with text in the image but still makes some mistakes there. AI does poorly when you try to use it as a search engine : “What movie had a ball shaped robot” might bring back any answer. Warning though - AI is getting better at hands and spurious limbs.
What is AI good for - Images that are suitable for screen backgrounds, Creative text work - I had chatgpt work with me on a procedure to un-mothball a starship, it suggested details I did not think of. I had chatgpt also read and suggest re-wording and correction on text for documentation. I fed it a chapter at a time and proofread the output carefully to mitigate hallucination.
Here is the text above after a chatgpt re-write:
AI excels at creating stunning screen backgrounds and tackling creative text work. For example, I worked with ChatGPT to craft a procedure for un-mothballing a starship, and it offered valuable details I hadn’t considered. It’s also a fantastic tool for refining documentation—I had it review and reword chapters, carefully proofreading to ensure accuracy. The results were efficient, insightful, and elevated the final product.
A Bard, an advanced story teller, One who draws pictures of things that never were (people with 3 arms for example), Lore from Star Trek. Don’t give it power to do anything on its own, always monitor it.
A stein is a cup to drink beer from, If your beer is not very yellow, you might have a pale stein.