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

Support firmware 2019.5.x path names #126

Closed
wants to merge 2 commits into from

Conversation

marcone
Copy link

@marcone marcone commented Mar 12, 2019

Firmware 2019.5.x changed the naming pattern of the recording files,
as well as their location. Archive both old and new files.

Firmware 2019.5.x changed the naming pattern of the recording files,
as well as their location. Archive both old and new files.
@marcone
Copy link
Author

marcone commented Mar 12, 2019

(I only tested the cifs backup script)

@ghost
Copy link

ghost commented Mar 17, 2019

I pulled this down and also tested cifs. Looks good to me. Model 3 on 2019.5.15.

@LBegnaud
Copy link

It seems like the mv command fails to move the remaining items in the folder if the transfer is interrupted. This is in the case of SavedClips folder existing.

There's some suggestions here on how to resolve:
https://unix.stackexchange.com/questions/9899/how-to-overwrite-target-files-with-mv

not really sure which is the best method

Back up files in SavedClips subfolders one at a time, so transfer
will be resumed when it is interrupted.
@marcone
Copy link
Author

marcone commented Mar 28, 2019

I reworked the CIFS archive-clips script so it moves the files one at a time, which allows interrupting and resuming the backup.

@AngusThermo-Pyle
Copy link

Rsync also fails if you don't have both paths present, works fine if you create the dummy directory or remove the path you don't have from the rsync command.

@marcone marcone closed this Jun 12, 2020
@marcone marcone deleted the namechange branch June 12, 2020 19:40
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

Successfully merging this pull request may close these issues.

3 participants