Backing up and restoring a DB is something your DBA team can advise on - there's nothing specific to BP about doing that. Depending on what kind of migration you are doing, it may be useful to back up BP config files for use in a new environment (and of course in case of rollback).
Session logs can be archived or deleted using the BP client (System > Settings > Archiving). Work queues are not affected by session log archiving. Old queue items must be managed either manually or via a simple housekeeping process (using the work queue VBO). Managing logs, queues and any other data generated or used by a process is something to consider in the solution design, and maintenance is best done 'a little and often' rather than trying an infrequent bulk operation. The definition of 'old' is something you need to agree with the Business process owners and document as part of a general
Archive and Backup Policy.
In the event of problems, the support team can also provide DB housekeeping SQL scripts on request.
------------------------------
John Carter
Professional Services
Blue Prism
------------------------------