backuper: created function to retrieve backuped instance ids

Also refactoring tests to use absolute database path.