- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Magento community,
When I try deleting the backup files ("media" and "code") created during the installation of a module using Component Manager I get the following error message:
"We can't delete one or more backups."
1. What can possibly cause this?
2. Is it safe to delete manually the backup files from 0:/public_html/var/backups/ using FTP?
Can anyone please advise?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd recommend that you just uninstall the modules that are not required anymore and run system upgrade. However, if you don't want to do that then a simple rm -rf {your_backup_directory} command will do the job - but it is no different that removing files via FTP but it's a bit faster.
If this response was helpful to you, consider giving kudos to this post
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error message: We can't delete one or more backups
My answer is as follows:
1. What can possibly cause this?
It could be permission issue. Basically when you deploy a module using CLI, it deploys it using the account you are logged in. Make sure you are connect using the same email address if you want to make a change.
2. Is it safe to delete manually the backup files from 0:/public_html/var/backups/ using FTP?
You could do that but I highly recommend running the magento CLI command to remove the modules.
Please accept my answer as a solution if I was able to solve your issue.
If this response was helpful to you, consider giving kudos to this post
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error message: We can't delete one or more backups
@ShoaibRehman89, what would be the right command to delete one of the backup files from command line? Couldn't find it anywhere.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd recommend that you just uninstall the modules that are not required anymore and run system upgrade. However, if you don't want to do that then a simple rm -rf {your_backup_directory} command will do the job - but it is no different that removing files via FTP but it's a bit faster.
If this response was helpful to you, consider giving kudos to this post
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error message: We can't delete one or more backups
Update: I finally simply deleted backup files using FTP. The admin backend recognized this delete. So far, the system runs just fine.