Help & DocumentationFAQs FAQsGetting "ERROR: Can't write to /var/backups/mi-app-backups/mi-full-backup" when trying to backup my Metric Insights Instance.

Getting "ERROR: Can't write to /var/backups/mi-app-backups/mi-full-backup" when trying to backup my Metric Insights Instance.

This is a permission issue that may occur when you try to run mi-app-backup on your Metric Insights Virtual Machine with user that don't have root privileges.

Resolution

In order to get root privileges to run mi-app-backup, do the following:

1. Find where on your vm mi-app-backup binary file is located by running:

which mi-app-backup

You should get something like:

/usr/local/bin/mi-app-backup
Note: If this path can't be found then you should add "/usr/local/bin" to path in user's ".bashrc" file.

2. Then run:

sudo /usr/local/bin/mi-app-backup

Note: If it asks password, please ask it from your VM administrator.

0 Comments

Add your comment

E-Mail me when someone replies to this comment