Manage ZFS Snapshots (daily, weekly, monthly, yearly)


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS Manage ZFS Snapshots (daily, weekly, monthly, yearly)
# 1  
Old 09-15-2009
Manage ZFS Snapshots (daily, weekly, monthly, yearly)

This script creates a snapshot of the given ZFS filesystem and keeps a limited number of daily, weekly, monthly, yearly snapshots by deleting some old ones.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Solaris

Understanding ZFS Snapshots - why will it utilize space ?

Hi all, I am moving to Solaris11 and is trying to understand how ZFS snapshot works. Chances upon this Oracle Blog and can't wrap my head around it. https://blogs.oracle.com/solaris/understanding-the-space-used-by-zfs-v2 Hope gurus here can shed some light . ======= ... (4 Replies)
Discussion started by: javanoob
4 Replies

2. Solaris

Permissions to run ZFS Snapshots

Hi, I work as an Oracle Technical consultant (mainly DBA related), and I have used ZFS snapshots on previous projects which has helped me a great deal. I often take snapshots before doing some dev work, and then I can roll it back if I want to start again, or if it goes pear shaped!! I have... (4 Replies)
Discussion started by: AndyG
4 Replies

3. UNIX for Dummies Questions & Answers

Tracking the script(.sh) files triggered on daily or monthly basis from source

Hi Gurus, Is there any solution for tracking the script(.sh) files triggered on daily or monthly basis from source - Datastage (Routines) Needs to find out if this scripts are running on daily just want to know that is there anything to track Thanks in Advance (2 Replies)
Discussion started by: SeenuGuddu
2 Replies

4. Solaris

Recommended Patch Cluster Using ZFS Snapshots

I have a question regarding installing recommended patch clusters via ZFS snapshots. Someone wrote a pretty good blog about it here: Initial Program Load: Live Upgrade to install the recommended patch cluster on a ZFS snapshot The person's article is similar to what I've done in the past. ... (0 Replies)
Discussion started by: christr
0 Replies

5. Shell Programming and Scripting

Writing a script to run weekly/monthly - check for weekday or day-of-the-month

Hi all, I currently have a UNIX file maintenance script that runs daily as a cron job. Now I want to change the script and create functions/sub inside it that runs on a weekly or monthly basis. To run all the scripts' daily maintenance, I want to schedule it in cron as simply maint.sh... (1 Reply)
Discussion started by: newbie_01
1 Replies
Login or Register to Ask a Question
CFETOOLIMPORT(8)					User Contributed Perl Documentation					  CFETOOLIMPORT(8)

NAME
cfetoolimport - import the contents of a database from XML format SYNOPSIS
cfetool import name --file|-f filename [--path|-p directory name] [--daily|-d] [--weekly|-w] [--yearly|-y] [--verbose|-v] [--help|-h] DESCRIPTION
Creates a new database from it's XML representation, in the format created by rrdtool dump. The -d, -w, and -y options specify which databases to create and look for in the dump, and may be combined. If they are all omitted, the default is to only import the weekly database. OPTIONS
--file|-f filename Specifies the XML file to restore. --path|-p The directory in which to create the new database folder. If this argument is not provided, the current working directory will be used. --daily|-d Create a database for recording daily patterns. --weekly|-w Create a database for recording weekly patterns. --yearly|-y Create a database for recording yearly patterns. --verbose|-v Print details of the command's execution to the standard output stream. --help|-h Print a short help message and then exit. EXAMPLE
% cfetool import temperature_copy --path /my/path --file ./temperature.xml Create a new weekly database, "temperature_copy", in the "/my/path" directory, and import it's contents from the file "temperature.xml" in the current working directory. AUTHORS
The code and documentation were contributed by Stanford Linear Accelerator Center, a department of Stanford University. This documentation was written by Elizabeth Cassell <e_a_c@mailsnare.net> and Alf Wachsmann <alfw@slac.stanford.edu> COPYRIGHT AND DISCLAIMER
Copyright 2004 Alf Wachsmann <alfw@slac.stanford.edu> and Elizabeth Cassell <e_a_c@mailsnare.net> All rights reserved. perl v5.8.4 2004-09-21 CFETOOLIMPORT(8)