No one seems to know much about tinyCore Linux.
No one seems to know much about tinyCore Linux.
You're experiencing issues with the backup system while running it in headless mode on a Raspberry Pi.
I don't have specific knowledge about it, but if you explain your issue, I might be able to assist you.
The issue with tinyCore is that it operates entirely from a RAM disk, which makes the distribution very compact. It's designed to back up /home and /opt during shutdowns to reduce disk access. (It was intended for use on flash drives, etc.). Personally, it didn't work as planned. I've decided to run backups manually before each shutdown, and that seems to be resolving the problem. Edit: @Sauron Sry, didn't mention you properly.
Everything expected is present: tc@box:/mnt/mmcblk0p2/tce$ ls mydata.tgz onboot.lst ondemand/ optional/ provides.db provides.db.part
So, if I understand correctly, the script works but it doesn't run automatically at shutdown. Can you show me the contents of /etc/rc6.d/ ?
Found it, it's /opt/shutdown.sh Here's the pastebin: https://pastebin.com/7mUaYnm0 I'm only shutting down via sudo poweroff and sudo reboot