Skip to content

Backup recovery #4

@Jacobchestnut16

Description

@Jacobchestnut16

Manual Recovery / Manual Upgrading

This tutorial walks you through how you can attempt to recover or use a newer version without losing all of your lists.


1. Locate Your Group Files

1.1 For Non-Legacy Versions

First, locate any group files you have — unless you're on a legacy version (if you are, go to 1.2).

These files should be named like:

<name>-playlist.json  
<name>-download.json

Move all of the .json files that follow this -playlist / -download naming structure aside.

Go to Step 2.1.


1.2 Legacy

Find all .json files that match your old group/playlist/download naming format.

You will need to:

  • Rename each to:

    <name>-playlist.json  
    <name>-download.json
    
  • Make sure each group has a pair: one playlist and one download.

This is how groups are set up in the newest versions.

Set all renamed files aside.

Go to Step 2.2.


2. Configuration Files

2.1 Locate Config Files

Locate the file_config.json file — this contains most of the information needed for your groups to work in newer versions.

Then find the config.json file. The latest version of this file will be shown below.

Ensure you have all of the lines somewhere in the file and configured to your liking.

Set both files aside.


2.2 Update file_config.json for Legacy

Now you need to update your file_config.json.

Each group looks like this:

[
  {
    "file": "New",
    "install-playlist": "New-download.json",
    "install-directory": "~/Downloads"
  },
  {
    ...
  }
]
  • file: The name portion without -playlist.json or -download.json
  • install-playlist: The file you want the playlist to flatten to (typically same as download file)
  • install-directory: Where files from this list get installed
    If you're not sure what to use, just put ~/Downloads.

If you're new to JSON:

  • [] = list
  • {} = dictionary (<key>: <value>)

In this file, we're making a list of dictionaries.
Each dictionary describes a group, so after each one, you need to add a comma , (except the last).

Then find the config.json file. The latest version of this file will be shown below.

Ensure you have all of the lines configured to your liking.

Set both these files aside.


3. Choose Your Version

3.1 For Version 1.*.*

  • Download the version you chose.
  • Unzip it.
  • Move all of the files you set aside into the source directory:
    web-dlp-down-z/
    

3.2 For Version 2.*.*

  • Download the version you chose.
  • Unzip it.

Then:

  • Move all of the group .json files into:

    web-dlp-down-z/app/data/
    
  • Move both config files into:

    web-dlp-down-z/app/instance/
    

If it warns you to replace them, do so, since you want these to be the new config files.


Latest config.json file:

{
    "web-dlp-down-z Log file": "logs",
    "Download To": "~/Downloads",
    "Download File": "default-download.json",
    "Playlist File": "default-playlist.json",
    "Download full log": "log_download.txt",
    "Playlist full log": "log_download.txt",
    "Process": "process.txt",
    "Playlist Processed": "playlist_processed.txt",
    "hierarchy": "false"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions