01 May 2019  guides

Backup Firefox Bookmarks on Windows 10

Find Your Firefox Profile

Locate the following folder: C:\Users\{YourUserName}\AppData\Roaming\Mozilla\Firefox\Profiles\

In that folder, you should see your Firefox profile folder, and within that folder a bookmarkbackups folder where Firefox automatically creates rolling and date-versioned backups of your bookmarks library. These backups are stored in a readable format that can be transferred effortlessly between Firefox installs; even cross-platform.

In Firefox, if you hit CTRL + Shift + B to open your Bookmarks Library, the following can be seen which represents the actual files stored in the above folder:

Create A Backup Script

Create a Windows batch script with the following content:

robocopy "C:\Users\{YourUserName}\AppData\Roaming\Mozilla\Firefox\Profiles\{YourFirefoxProfileFolder}\bookmarkbackups" "C:\Users\{YourUserName}\the-path-where\you-will-save\the-backup"

Substitute the location of your Windows user profile and Firefox profile folder names and of course where you want to save the backups. As mentioned above, I use and recommend a folder that’s synced externally, for example a Dropbox or MEGA folder.

Remember to save this script with a .bat extension for it to become executable. You can test the script by simply opening it or running the actual command in a cmd terminal to check the output.

robocopy is a great tool for this job since it compares the source and destination directories and will intelligently copy only new or changed files.

Create A Scheduled Task

Hit + R to bring up the Run dialog and type taskschd.msc to open Task Scheduler.

Under the Actions menu, select Create Basic Task and follow through the Wizard to setup the task’s specifics. For simplicity’s sake I’ll include my own configuration below as a demo:

After creating the task, it should appear in your Task Scheduler Library’s list of local tasks. Choosing to run this task at logon will get it out of the way and works to compliment Firefox Sync.

Webmentions & Comments

Copyright © Paramdeo Singh. #JAMstacked with in Guyana. All Rights Reserved.

Last Site Build on Thu, 07 Jan 2021 21:07:51 -0400