Thanks for the reply, but that does not answer what I am looking for. the -f is for the backup file which in my example was /tmp/backup. I want to restore hash file /jbase/files/testfile to locatation /tmp/restore
I had tried something like jrestore -f /tmp/backup -c"/jbase/files/testfile /tmp/restore" but that does not work. jrestore is a disappointing function based on the documentation. It should be very simple to restore a hashed file to an alternate directory. Maybe it is, but the documentation does not show you how. Very few examples. It should also be very easy to restore a file and/or and item in a file without needing to figure out regex using the -h and -i. Why can't there be a simple option with the filename and item id like if you use the -H and -I commands? Those work, but you need to edit files to do it. On Tuesday, September 24, 2024 at 3:44:05 PM UTC-5 Mazen Sultan wrote: > Use the following command after being in the destination directory: > jrestore -f /jbase/files/testfile > > في الاثنين، ٢٣ سبتمبر ٢٠٢٤, ١١:٢٦ م troyd1 <[email protected]> كتب: > >> I am having a lot of trouble trying to restore an item in a file and >> other aspects of using jrestore. I referred the the documentation here, >> but not a lot of examples, so things are not clear. >> Say I have backup file /tmp/backup >> FIrst, what is the syntax to restore /jbase/files/testfile to locate >> /tmp/restore? >> next, what is the the syntax to restore /jbase/files/testfile testitem to >> the same file. >> >> All I can find is the -h and -i options which use regex. >> >> I am actually able to get the to work using the -H and -I options if I >> create a file with the file and item in it. There must be an easy way to >> just say restore file and item. >> >> Please advise and thanks in advance for any help. >> >> Also, is there more documentation other than this? >> >> file:///C:/Users/L702X/Downloads/jbase_v5_8_jrestore_2024-09-23-15-21-14.pdf >> >> >> -- >> -- >> IMPORTANT: T24/Globus posts are no longer accepted on this forum. >> >> To post, send email to [email protected] >> To unsubscribe, send email to [email protected] >> For more options, visit this group at >> http://groups.google.com/group/jBASE?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "jBASE" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jbase/fc154128-c63e-45cb-baf7-b7a97b8cbf7en%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jbase/fc154128-c63e-45cb-baf7-b7a97b8cbf7en%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/484ccf0d-6772-4a27-90f7-da183ba785afn%40googlegroups.com.
