$backup.restore.getStoredFiles

Returns a newline separated list of the file paths stored in the backup file.
Syntax
    $backup.restore.getStoredFiles{file_path}
Documentation$backup.restore.getStoredFiles:
Returns a newline (\n) separated list of the file paths stored in the backup file. Only entries of the zipfile which will end up as regular files if the backup is applied will be returned.
    Paramter:
      1 - The backup file path (e.g.: public://backup.zip)
    Returns:
    Throws:
Examples
$io.sendBytes{1}{} $// backup $if{$existsCurrent{backup}}{ $io.sendBytes{1}{Adding backup rule.
} $backup.setup.add{backup_test}{1}{$getCurrent{i}}{public://index.html}{0} $io.sendBytes{1}{Committing transaction.
} $commit{NONE} $io.sendBytes{1}{Flagging backup start.
} $backup.start{backup_test} $io.sendBytes{1}{Now waiting for backup to start. This may take a while.
} $while{$isEmpty{$backup.getLastFile{backup_test}}}{ $io.sendBytes{1}{Waiting 5 sec...
} $sleep{5000} } } { Backup this account now.

} $// restore $if{$existsCurrent{restore}}{ $set{file}{$backup.getLastFile{backup_test}} File: $get{file}
Account id list: $backup.restore.getStoredAccounts{$get{file}}
File list: $backup.restore.getStoredFiles{$get{file}}
$if{$existsCurrent{restore}}{ $backup.restore.apply{$get{file}} } Restored.
} { Restore now.

} $// remove rule $if{$existsCurrent{remove}} { $backup.setup.remove{backup_test} } { $if{$backup.setup.exists{backup_test}}{Remove test backup rule.

} }

GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1