Score:0

How to list files and folders backed up by Deja Dup?

fr flag

I'm using Deja Dup to back up my data to Google Drive. Would like to know how to list all files & folders that are currently backed up. I don't think it's possible through the GUI, so I'm wondering how to do it through the terminal, perhaps with duplicity?

Score:2
us flag

To list all files in a backup

duplicity list-current-files --time 1D file:[location of your backup]
Fadi avatar
fr flag
Not sure how to provide the location of my backup in Google Drive, I just copy-pasted the URL of the latest archive and got this error: `InvalidBackendURL: missing // - relative paths not supported for scheme file`
Fadi avatar
fr flag
Then I tried downloading the archive and providing the absolute path. Now I'm getting this error: `Attempt 1 failed. NotADirectoryError: Not a directory` I guess it's expecting a directory?
Organic Marble avatar
us flag
I don't use the google drive option but I will try to figure out how to do that. Yes, it wants the directory you are backing up to.
Score:1
ch flag
ede

it's probably rather something along the lines

GOOGLE_DRIVE_ACCOUNT_KEY=~/.gdrive.pem
duplicity list-current-files pydrive://<service account' email address>@developer.gserviceaccount.com/some_dir

or

GOOGLE_DRIVE_SETTINGS=~/.gdrive.conf
duplicity list-current-files pydrive:///some_dir

depending on what type of access you activate. i'd suggest the user variant, as it is a little simpler.

visit https://duplicity.gitlab.io/duplicity-web/vers8/duplicity.1.html and see section 'A NOTE ON PYDRIVE BACKEND' on how to set up pydrive access to google drive with duplicity.

Fadi avatar
fr flag
I don't have a `.gdrive` file
ch flag
ede
@Fadi did you read the linked man page section? it explains how to create the needed file.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.