DublinOhio / backup-ago

Backup ArcGIS Online content to a specified location.
MIT License
1 stars 0 forks source link

Failing to delete backups resulting in script failure. #4

Open langdonms opened 2 months ago

langdonms commented 2 months ago

The backup process was generally failing for a couple reasons.

langdonms commented 2 months ago
langdonms commented 2 months ago

Getting issue with move, maybe doesn't need Owner argument just backup folder ID.

    Exporting item
    Exporting item complete
    Moving item to f74cc94ec1dc4ac8b8a16742c799b4fb
Failed to move item  move() got an unexpected keyword argument 'owner'
    Item 3 of total 221 complete
    ID of backup 73909d481e5844648c7ee607889a7ee6
langdonms commented 2 months ago

Yup, removing the owner argument in move folder, it is now working. Still need to make sure it doesn't try to do duplicate moves.


    Exporting item complete
    Moving item to f74cc94ec1dc4ac8b8a16742c799b4fb
    Moving item complete
    Item 3 of total 221 complete
    ID of backup ee6f2b2138144906a36d62f8a1f27ee9```
langdonms commented 2 months ago

Features are failing to move because already exist in folder; perhaps spit these out into a list for further clean-up

langdonms commented 2 months ago

If item's ownerFolder = None then it's in the home folder