Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2018-11-13 16:29:50

scott.dodge@nebraska.gov
Member
Registered: 2018-08-20

Restore a Folder via Terminal - How do I do it?

Hi Everyone,

Just a quick question...

How do you restore a folder structure via terminal using the "rev" command with its associated dynamic lists?

Or can it even be done?

Thanks smile

Offline

#2 2018-11-14 11:10:42

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Restore a Folder via Terminal - How do I do it?

Hi scott.dodge,

you can check the usage of the rev command here: https://reportserver.net/en/guides/admi … rtmod/#rev

Report folders have type "ReportFolder" (id:ReportFolder:123). This restores only the folder, though, not the contents. So if you rename the folder, delete it, etc, you can restore it. But not its contents. I created the feature request  ticket RS-3123 for this. It would be an interesting feature.

Regards,
Eduardo

Offline

#3 2018-11-14 11:12:59

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Restore a Folder via Terminal - How do I do it?

Note that you can restore all dynamic lists with the rev restore command. So you should first restore the folder, then all dynamic lists, one by one, though, if you you have their id. If not, check the table RS_REPORT_A (audit) and look for the respective ids you want to restore. With "rev list" you can see a list of all revisions for the given id. For dynamic lists, try the type "TableReport", or "TableReportVariant" (for variants) or "Report" for the generic type.

Regards,
Eduardo

Offline

#4 2018-11-15 14:51:18

scott.dodge@nebraska.gov
Member
Registered: 2018-08-20

Re: Restore a Folder via Terminal - How do I do it?

Hi Everyone...

Is there a document that lists the types (i.e. "ReportFolder") for the rev command?  It would be helpful in the documentation to have this list. 

Again... thanks for the help, it is appreciated.

Offline

#5 2018-11-15 15:31:45

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Restore a Folder via Terminal - How do I do it?

Hi scott.dodge,

you are looking for the entity list. You can find the complete entity list from sourceforge, download the api-docs for your version: https://sourceforge.net/projects/dw-rs/files/src/3.0/

Look for the entities.html page in the zip file.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB