retro-center / rcade_releases

Downloads and details for R-Cade software releases and updates
Other
61 stars 3 forks source link

[BUG] Missing dir && file for backup #6

Closed psstoyanov closed 2 years ago

psstoyanov commented 2 years ago

Description

With the first update to 1.0.2 from 1.0.1 , the system strongly encourages the user to backup the system.

However, the backup can't be created.

Details

Looking at the logs:

The actual report from uart indicates that the expected directory and archive file are not present:

missing /rcade/share/.emulationstation/backups/rootfs_backup.tar.xz ``` tar: Removing leading `/' from member names tar (child): /rcade/share/.emulationstation/backups/rootfs_backup.tar.xz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: /rcade/share/.emulationstation/backups/rootfs_backup.tar.xz: Cannot write: Broken pipe tar: Child returned status 2 tar: Error is not recoverable: exiting now ```
# mkdir backups
# cd !$
cd backups
# pwd
/rcade/share/.emulationstation/backups
# touch rootfs_backup.tar.xz 
# tar: Removing leading `/' from member names    # Indicating that the process has begun

retro-center commented 2 years ago

Running this over SSH before starting the back up will resolve this, and a fix for this will be included in the next release :) Thank you for reporting this!

mkdir -p /rcade/share/.emulationstation/backups

retro-center commented 2 years ago

Resolved in 1.0.3