Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
psstoyanov opened this issue Jan 5, 2022 · 2 comments
Closed

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

psstoyanov opened this issue Jan 5, 2022 · 2 comments

Comments

@psstoyanov
Copy link

psstoyanov commented Jan 5, 2022

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:

  • When initiating the backup, the user is presented with the following message
    20220105_221814_HDR

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
  • Manually creating the directory and an empty file with the expected name allows the process to proceed
    20220105_222748_HDR
created missing dir and file allow for the process to proceed
# 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
Copy link
Owner

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
Copy link
Owner

Resolved in 1.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants