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

run over ssh (not with root user) - 2nd "proper" run deleted almost all previous content - (2.5TB) #235

Open
james-cook opened this issue Apr 29, 2021 · 0 comments

Comments

@james-cook
Copy link

I am probably missing something really simple.
I set up the command to copy a large video collection from my server on the internet to a backup at home.
bash ./rsync_tmbackup.sh -p xxxx /var/www/media.files/ [email protected]:/mnt/seagate/media.files/
This took a few days to complete - but I could see the files on the destination and "du -hs" on the destination folder showed 2.5TB as expected when the job was complete.

Today I re-issued the command above, and the result was an almost complete removal of the files stored in the initial backup (one folder with a sticky bit set on group was not removed - 600MB).

Does anyone have a clue why the removal was initiated?

  • can it be due to the user not being root at the destination?
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

1 participant