X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Frestore.in;h=5676cf90ea73268f32d229075aa610bdacb962a9;hb=3f6d87a61cf0bfd88c59526993683c5e65aa0d2f;hp=88ab1fa9675530f415cbbfb72c25de84269f3630;hpb=8771e7c56062edf0038e6e3167b6ff9ead2348bd;p=chaz%2Ftar diff --git a/scripts/restore.in b/scripts/restore.in index 88ab1fa..5676cf9 100644 --- a/scripts/restore.in +++ b/scripts/restore.in @@ -14,8 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. # Load library routines SYSCONFDIR=${SYSCONFDIR-@sysconfdir@} @@ -111,6 +111,7 @@ EOF restore_fs() { fs="`echo \"${1}\" | sed -e 's/^.*://'`" + fs=`root_fs $fs` fsname="`echo \"${1}\" | sed -e 's/\//:/g'`" remotehost="`expr \"${1}\" : '\([^/][^/]*\):.*'`" if [ -z "$remotehost" ]; then @@ -146,7 +147,7 @@ restore_fs() backup_host ${remotehost} \ "--listed=\"$FILE\"" \ "--label=\"$LABEL\"" \ - -C ${ROOT_FS-/}$fs + -C $fs ${RESTORE_END-:} $level $remotehost $fs $fsname done } @@ -233,4 +234,4 @@ fi) 2>&1 | tee -a "${LOGFILE}" - \ No newline at end of file +