Comments (5)
As a matter of fact, I am said newbie and would really like to install and use zfsnap, but have really no clue at all how to install this.
First I tried to copy the manpage to the .../man/man8/ folder and run man zfsnap, but the output looks like crap (no linefeeds, etc.) so that is not the way to go I guess...
Now I guess that I can copy the sbin/* files to /sbin, but with the other folders I have no clue.
So I can do nothing but totally agree with the comment above and hope that someday someone will write a short writeup how to install this. I mean, this might really be a good script, but if you can't install it, people are not really encouraged to use it - and that might be a shame...
from zfsnap.
Thanks for the feedback. Writing a makefile is on my todo list.
BTW, which OS are you on? I'm surprised the man page didn't render well. It's mandoc, so some linux's /might/ struggle, but I have yet to see one.
---Alex
from zfsnap.
Hi,
Thanks for the reply. The OS is Omni-OS (uname -a: SunOS omni-server 5.11
omnios-8c08411 i86pc i386 i86pc)
The output of the file looks like (direct copy/paste from terminal - from
start):
| creates and deletes rolling ZFS snapshots [em] usually with
cron. main advantages are its portability and that all informa-
tion needed for snapshot management is kept in the snapshot name
itself. zfsnap snapshots are in the format of
pool/fs@[prefix]Timestamp--TimeToLive The prefix is optional and
is quite useful for filtering; Timestamp is the date and time
when the snapshot was created; and TimeToLive (TTL) is the amount
of time the snapshot will be kept until it's ready for deletion.
The majority of functionality is implemented at the layer. How-
ever, a few options can be passed to directly. Print a summary
of command[hy]line options and then exit. Print the version
number and exit. operates only on snapshots and will destroy or
create a pool or filesystem. Most actions are performed by using
a All options and arguments passed to a are operated on as they
are read This provides the flexibility needed for complex
scenarios, but also has the capacity to bite you if you're not
paying attention. Remember, is provided for a reason. Only one
can be passed per invocation of By default, will only delete
snapshots whose TTLs have expired. However, options are provided
to override that behaviour with more aggressive approaches. Only
snapshots created by will be considered for deletion. Delete all
zfsnap snapshots [em] regardless of their TTL expiration [em] on
all ZFS file systems that follow this switch. Force delete all
snapshots in all pools exceeding regardless of their TTL expira-
tion. See for more information. Print a summary of
command[hy]line options and then exit. Dry[hy]run. Perform a
trial run with no actions actually performed. Use for snapshots
after this switch. Don't use a prefix for snapshots after this
switch. Operate recursively for snapshots on all ZFS file sys-
tems that follow this switch. Do not operate recursively for
snapshots on all ZFS file systems that follow this switch. Skip
pools that are resilvering. Skip pools that are scrubbing. Ver-
bose output. The purpose of is simple: to create snapshots. Set
how long the snapshot should be kept. If not set, the default is
one month. See for more information. Print a summary of
command[hy]line options and then exit. Dry[hy]run. Perform a
trial run with no actions actually performed. Use for snapshots
after this switch. Don't use a prefix for snapshots after this
switch. Create recursive snapshots of all ZFS file systems that
follow this switch. Create non[hy]recursive snapshots for each
ZFS file system that follows this switch. Skip pools that are
resilvering. Skip pools that are scrubbing. Verbose output.
Round snapshot creation time down to 00 seconds. The
This was the result of:
- copying the man8/zfsnap.8 file to the corresponding man directory
- executing "man zfsnap"
It makes no difference whether I execute it in 'screen' or directly from
the terminal.
It must be noted that both times, I ran it from within a ssh session, ran
from the OSX client (standard terminal, standard ssh implementation).
Cheers,
Jeroen
On Mon, Feb 23, 2015 at 4:12 PM, Alex Waite [email protected]
wrote:
Thanks for the feedback. Writing a makefile is on my todo list.
BTW, which OS are you on? I'm surprised the man page didn't render well.
It's mandoc, so some linux's /might/ struggle, but I have yet to see one.---Alex
—
Reply to this email directly or view it on GitHub
#54 (comment).De niet-brutalen hebben de andere helft...
from zfsnap.
@Bimmerboy I can't reproduce your problem with the manpage on OmniOS. Granted the man
program is a bit odd in OmniOS, so to view the manpage when it's not installed yet do: MANPATH=man/ man zfsnap
But both man and mandoc correctly render the manpage.
Is this this a problem for you?
---Alex
from zfsnap.
@Bimmerboy I elected not to write a make file, but I did write some documentation in an INSTALL file, to make things a bit easier on those installing by hand.
If you follow it and still have questions, let me know, and I'll do my best to improve the documentation further. :-)
---Alex
from zfsnap.
Related Issues (20)
- Argument list too long while deleting old snapshots
- Possibly relying on createtxg and guid properties HOT 4
- smb.conf for zfsnap HOT 1
- Request: Add support for a pre- and post-script HOT 4
- How do I use zfsnap to backup snapshots of one pool to another? HOT 2
- daily snapshots generated, which I never set up HOT 4
- How to use xPERIODICx scripts? HOT 1
- Wanted: new maintainer HOT 7
- zfSnap -d command is not working HOT 2
- zfsnap_delete periodic script needs filesystem arguments
- Make prefixes not need - at the end HOT 3
- Disable filtering when destroying HOT 1
- [feature] Add an option to store TTL as ZFS property - instead of being part of the snapshot name HOT 1
- FATAL: trying to delete zfs pool or filesystem? WTF?
- redirection to stderr prevents use in systemd-services HOT 6
- Recursive snapshot without parent directory
- Is this still an active project? HOT 3
- Delete any snapshots that have expired? HOT 3
- Free predefined amount of space by removing snapshots
- Possibility to use inotify to trigger snapshots HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfsnap.