non-interactive dump
J65nko
j65nko at gmail.com
Sun Jul 8 21:12:08 UTC 2007
On 7/8/07, Dinesh Pandian <dineshpandian at gmail.com> wrote:
> Hello guys,
> quick question..
>
> Is there a way to tell dump to do it's working without
> it asking "Is the new volume mounted and ready to go?: ("yes" or "no")"
> everytime it changes mount points?
>
> For example:
>
> solara# dump -0L -f /dev/da1 /
> DUMP: Date of this level 0 dump: Mon Jul 9 02:17:40 2007
> DUMP: Date of last level 0 dump: the epoch
> DUMP: Dumping snapshot of /dev/da0s1a (/) to /dev/da1
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 288357 tape blocks on 7.42 tape(s).
> DUMP: dumping (Pass III) [directories]
> DUMP: dumping (Pass IV) [regular files]
> DUMP: Closing /dev/da1
> DUMP: Change Volumes: Mount volume #2
> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
> DUMP: Volume 2 begins with blocks from inode 33729
> DUMP: Closing /dev/da1
> DUMP: Change Volumes: Mount volume #3
> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
> DUMP: Volume 3 begins with blocks from inode 49969
> DUMP: Closing /dev/da1
> DUMP: Change Volumes: Mount volume #4
> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
> DUMP: Volume 4 begins with blocks from inode 50225
> DUMP: 39.89% done, finished in 0:01 at Mon Jul 9 02:25:01 2007
> DUMP: Closing /dev/da1
> DUMP: Change Volumes: Mount volume #5
> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
> DUMP: Volume 5 begins with blocks from inode 50225
> DUMP: Closing /dev/da1
> DUMP: Change Volumes: Mount volume #6
> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
> DUMP: Volume 6 begins with blocks from inode 50225
> DUMP: Closing /dev/da1
> DUMP: Change Volumes: Mount volume #7
> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
> DUMP: Volume 7 begins with blocks from inode 50225
> DUMP: Closing /dev/da1
> DUMP: Change Volumes: Mount volume #8
> DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
> DUMP: Volume 8 begins with blocks from inode 50225
> DUMP: DUMP: 289411 tape blocks on 8 volumes
> DUMP: finished in 180 seconds, throughput 1607 KBytes/sec
> DUMP: Closing /dev/da1
> DUMP: DUMP IS DONE
>
>
> Dump requires that I key in "yes" everytime it changes mount volumes..
> is there a way to just get it to continue without user intervention?
>
Use the "-a" flag ;)
More information about the freebsd-questions
mailing list