Windows 10: rsync server backup, but now created folder I can't delete / view!

Discus and support rsync server backup, but now created folder I can't delete / view! in Windows 10 Backup and Restore to solve the problem; Hi, I'm trying to get a rsync scheduled task setup on my PC, that will do a rsync on my server and grab the files. So after a lot of hassle (getting... Discussion in 'Windows 10 Backup and Restore' started by youradds, Oct 24, 2016.

  1. youradds Win User

    rsync server backup, but now created folder I can't delete / view!


    Hi,

    I'm trying to get a rsync scheduled task setup on my PC, that will do a rsync on my server and grab the files. So after a lot of hassle (getting the SSH key-pair working), I've finally got it going. My issue though, is that I was running this:

    Code: rsync -vcr -e "ssh -l root -i /cygdrive/F/ServerBackups/foo" "mysite.com:/srv/www/xxxx" "/cygdrive/F/ServerBackups/Foo"[/quote] For some reason that has done some weird stuff with the permissions. After reading up a bit on it, I found I should have really used the --chmod=ugo=rwX flag as well, to set the permissions. This is what I'm using now:

    Code: rsync -vcr --chmod=ugo=rwX -e "ssh -l root -i /cygdrive/F/ServerBackups/foo" "mysite.com:/srv/www/xxxx" "/cygdrive/F/ServerBackups/Foo2"[/quote] That works fine, and I can read Foo2, and all its contents. The proble now is getting rid of the "bad" one!

    In Cygwin, here is this chmod's of that folder:

    Here is the permissions of the folder that I'm having issues with:


    rsync server backup, but now created folder I can't delete / view! [​IMG]


    It has read-only ticked, so I have tried to remove that:

    rsync server backup, but now created folder I can't delete / view! [​IMG]


    but then I just get this nasty error:

    rsync server backup, but now created folder I can't delete / view! [​IMG]


    The folder is only a couple of hundred Mb's, but I'd still like to try and get rid of it if I can, so I can do some housekeeping =)T

    Thanks!

    Andy

    :)
     
    youradds, Oct 24, 2016
    #1
  2. PX03AFK Win User

    Build 14251 will not install

    And now I've found a problem which I am currently struggling to recover. I use rsync with cygnative (to supply the password). Was working fine before I tried to apply this update and now rsync says that cygnative doesn't exist when it is called through
    -e, but it was OK beforehand and cygnative is still where it was and will run fine when called directly from the command line. So, something has gone badly wrong with the PATH or how the command interpreter is working.

    This is not helped by the fact that I now have no restore points, presumably deleted in the run up to the install, and therefore can't go back to a known working position.
     
    PX03AFK, Oct 24, 2016
    #2
  3. I created a folder and now can't delete it... how to?

    Hi Tricia,

    To assist you better with this concern, kindly answer the following questions:

    • Where did you create this folder?
    • Where is it located?
    • Any error message when trying to delete it?
    • Can you send us a screenshot of the issue you're experiencing?

    Looking forward to your reply.
     
    Michelle Vil, Oct 24, 2016
    #3
  4. bro67 Win User

    rsync server backup, but now created folder I can't delete / view!

    You are talking about stuff that is advanced user, not something for the faint of heart, since it can royally screw up the system you are wanting to back up. See The Non-Beginners Guide to Syncing Data with Rsync rsync.net Cloud Storage for Offsite Backups (Mentions about Server 2008, but will work with regular Windows) rsync + ssh + cygwin - full and TOTAL instructions - Windows 2008 R2 - YouTube More info rsync

    Just know that you can hose up your Windows system and the device that you are using for the storage if you do this wrong. Use Macrium backup on your windows machine before you mess around with Rsync.
     
    bro67, Oct 24, 2016
    #4
  5. youradds Win User
    Thanks bro *Smile I actually have it all working (its backing up 6 of my sites now perfectly, and is set to run in the morning at 9am, after the server backups have finished. The only issue I have, is removing the "incorrect" one I did to start with. Maybe I'll just leave it, as its only a few hundred mb (on a 500gb SSD), so not wasting too much space. I was just hoping there was a simple fix *Smile

    CheersAn
    dy
     
    youradds, Oct 24, 2016
    #5
  6. bro67 Win User
    I sent a message to Jimbo45 regarding this. He has been doing a lot of advanced stuff with Linux that I do not get into. With rsync there really is not a simple fix, because of how complex it is to make it work properly. We are talking old school tech, that rsync came out five years after Linus gave us Linux.

    If I do stuff with a test server running any form of Linux, I use webmin to let me do stuff that way.
     
    bro67, Oct 24, 2016
    #6
  7. youradds Win User
    Cool. thanks! Yeah it's tricky using a wrapped like Cygwin to emulate a *nix backend so that it can run. It's worked really well for me so far (all my sites are backed up locally, and it's doing the morning backup now, and only downloading the changed files *Smile)

    Cheers

    Andy
     
    youradds, Apr 5, 2018
    #7
Thema:

rsync server backup, but now created folder I can't delete / view!

Loading...
  1. rsync server backup, but now created folder I can't delete / view! - Similar Threads - rsync server backup

  2. Deleted NGC folder, now can't log in

    in Windows 10 Gaming
    Deleted NGC folder, now can't log in: Hi, i really need help ASAP!So recently my Windows 10 sometimes shows "Something went wrong on our end" and shows error code 0x80280013 when im trying to sign in using my fingerprint or pin.Just like any other user, i search for that error code and got this result from...
  3. Deleted NGC folder, now can't log in

    in Windows 10 Software and Apps
    Deleted NGC folder, now can't log in: Hi, i really need help ASAP!So recently my Windows 10 sometimes shows "Something went wrong on our end" and shows error code 0x80280013 when im trying to sign in using my fingerprint or pin.Just like any other user, i search for that error code and got this result from...
  4. I deleted NGC Folder, now can't login.

    in Windows 10 Gaming
    I deleted NGC Folder, now can't login.: When I tried to change Windows Hello Pin, it showed an error 'your organisations resources dontupport this pin'. I checked microsoft tech community and one microsoft officer replied delete NGC folder by taking permission and I did so. After that i got new pin setup but i...
  5. I deleted NGC Folder, now can't login.

    in Windows 10 Software and Apps
    I deleted NGC Folder, now can't login.: When I tried to change Windows Hello Pin, it showed an error 'your organisations resources dontupport this pin'. I checked microsoft tech community and one microsoft officer replied delete NGC folder by taking permission and I did so. After that i got new pin setup but i...
  6. Created Folder ... which points to the parent folder, can't delete it.

    in Windows 10 Network and Sharing
    Created Folder ... which points to the parent folder, can't delete it.: I managed to get a folder with the name ... created. When I double-click it, it resolves to the same directory I was in, so it is an infinite loop. I can't delete the folder because it is not empty or the parent folder because it is not empty. I can't rename or move it....
  7. Created a folder now I can't delete it?

    in Windows 10 Support
    Created a folder now I can't delete it?: I have a brand new computer, I just finished it in the last couple weeks if it makes any difference here's the basic hardware: Asus Prime X570-Pro motherboard, Ryzen 3950X, 32gb Corsair Ram, 2tb Samsung M.2 boot drive with Windows 10 pro, 4tb Samsung Evo data drive I:, 6tb...
  8. Can I delete the folder C:\backup and then create a new restore point?

    in Windows 10 Network and Sharing
    Can I delete the folder C:\backup and then create a new restore point?: The folder C:\backup has grown way too big for just the restore point 232GB!!!. I tried disk cleanup>more options>delete-all-but-recent, didn't work. Can I delete the entire folder and create a new restore point? Dan...
  9. Can't Delete Backups

    in Windows 10 Backup and Restore
    Can't Delete Backups: Not sure if this started after the last update, but I can't delete backup any longer. Gives me error code 0X80070510 and says "the storage policy blocks that type of file". Never had this issue before. Can delete if I boot in safe mode, but never had to do that before....
  10. Can't delete folder that I created

    in Windows 10 Support
    Can't delete folder that I created: This folder was created in Feb. It's in C: Users/(Me)/Music. I named it Overflow so I could move files into it to keep the main folder looking cleaner. It has no content except for a subfolder called "Photos" (which also has no content). When I look at properties I get...