Cannot export instance from user project

When I want to export an instance from a user project, I get the error message:

$ lxc export u1 u1.tar.gz
Error: Create image backup: Project user-1001 doesn't allow for backup creation

How can this user export an instance?

Thats interesting @stgraber do we want to allow exports by default from user projects?

@kees as the admin user you should be able to do lxc project set user-1001 restricted.backups=allow to enable this.

Thanks @tomp, that works

Is there a reason to not allow backups? Are there security implications?

It can be pretty resource intensive on the host to generate the backups as that requires a lot of CPU power to compress them.

1 Like