[zfs-discuss] zfs scripts
i am trying to come up with a script that incorporates other scripts. eg zfs send pool/filesystem1@100911 /backup/filesystem1.snap zfs send pool/filesystem2@100911 /backup/filesystem2.snap i need to incorporate these 2 into a single script with both commands running concurrently. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs scripts
On 09 September, 2011 - cephas maposah sent me these 0,4K bytes: i am trying to come up with a script that incorporates other scripts. eg zfs send pool/filesystem1@100911 /backup/filesystem1.snap zfs send pool/filesystem2@100911 /backup/filesystem2.snap #!/bin/sh zfs send pool/filesystem1@100911 /backup/filesystem1.snap zfs send pool/filesystem2@100911 /backup/filesystem2.snap ..? i need to incorporate these 2 into a single script with both commands running concurrently. /Tomas -- Tomas Forsman, st...@acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs scripts
Plus, you'll need an character at the end of each command. -- Sriram On 9/9/11, Tomas Forsman st...@acc.umu.se wrote: On 09 September, 2011 - cephas maposah sent me these 0,4K bytes: i am trying to come up with a script that incorporates other scripts. eg zfs send pool/filesystem1@100911 /backup/filesystem1.snap zfs send pool/filesystem2@100911 /backup/filesystem2.snap #!/bin/sh zfs send pool/filesystem1@100911 /backup/filesystem1.snap zfs send pool/filesystem2@100911 /backup/filesystem2.snap ..? i need to incorporate these 2 into a single script with both commands running concurrently. /Tomas -- Tomas Forsman, st...@acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- Sent from my mobile device == Belenix: www.belenix.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zfs scripts
On Fri, Sep 9, 2011 at 5:33 AM, Sriram Narayanan sri...@belenix.org wrote: Plus, you'll need an character at the end of each command. And a wait command, if you want the script to wait for the sends to finish (which you should). Nico -- ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss