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. Can't delete a folder

    in Windows 10 Network and Sharing
    Can't delete a folder: I have a WD My Book for backup and I was testing it out so I backed everything up. Then I went to restore and selected Program Files and Programs (X86) to restore and sentthemt to my WD My Book Restore folder. It restored perfectly, but now I can't delete it. I tried...
  3. Can't delete a folder

    in Windows 10 Network and Sharing
    Can't delete a folder: So i created a folder with a name like "folder..." And now i cant delete it. The error being "This is nolonger located in C:\Users\myname. Verify the item's location and try again". I tried right clicking and going to properties then security tab but under security tab there...
  4. Can't delete folder

    in Windows 10 Network and Sharing
    Can't delete folder: Hi, so I'm simply trying to delete a game folder from my computer but every time I try it says I need permission from "DESKTOP" something and I have no idea what its talking about. I've already set myself as owner of everything on the drive and given myself every permission I...
  5. I created a Windows Firewall rule and now I cannot delete it

    in Windows 10 Network and Sharing
    I created a Windows Firewall rule and now I cannot delete it: Following a guide, I created a windows firewall outbound rule in order to block an IP and improve the lobby times from a game. It did not work, and now the game works even worse than before. Now I am trying to the delete the rule, but the delete option is missing. It is...
  6. 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....
  7. I can't delete folders in Steamapps

    in Windows 10 Support
    I can't delete folders in Steamapps: So I had a windows 8 laptop, and I never had this problem. Because of this I assume it has to do with windows 10 that is on my new laptop. I want to do a mass delete of steam games without going through the uninstall process through steam, and I could do this before on my old...
  8. Can't delete folder

    in Windows 10 Support
    Can't delete folder: When I right click on a folder I see "open" but I don't see any "take ownership" menu. Don Cole 60651
  9. Folder that I can't delete

    in Windows 10 Support
    Folder that I can't delete: I have a folder in win 10 that I can't delete! When I try to delete it is says "You do not have access to this folder" There is an explanation on what to do to gain access to it but it is meaningless to me! Can someone give me clear & concise procedure on how to delete...
  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...