Can before and after snapshots be used to verify successful filesystem restoration?


 
Thread Tools Search this Thread
Operating Systems Solaris Can before and after snapshots be used to verify successful filesystem restoration?
# 1  
Old 03-21-2007
Can before and after snapshots be used to verify successful filesystem restoration?

Hello Guys,

Can before and after snapshots be used to verify successful filesystem restoration?

snapshots will be created using fssnaps and restoration is thru legato restore?

Any ideas on this? or any other ways I could verify that restoration is good?

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script verify connection to Oracle if not successful

i have a script that connects to the oracle database and executes the query statements. it works fine and i would like to add some message to check if the connection to oracle is not successful. basically this is the code snippet: #!/bin/sh ... ... ... sqlplus -s username/password@dbName... (2 Replies)
Discussion started by: wtolentino
2 Replies

2. AIX

Mksysb restoration

Hi, I am an newbie to AIX. Recently, I being assigned to do an mksysb restoration at our DR site. It always encounter "Out of Space" during restoration, this is even when I restored to 4x146GB HDD. Even though, on production, it only need 2x146GB HDD for the rootvg. What is the problem, I... (19 Replies)
Discussion started by: AIXBlueCat
19 Replies

3. Solaris

Error after systeme restoration

Rebooting with command: boot Boot device: /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0:a File and args: SunOS Release 5.10 Version Generic_147440-01 64-bit Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. WARNING: system call missing from bind file... (8 Replies)
Discussion started by: andersonedouard
8 Replies

4. Shell Programming and Scripting

MySQL Restoration Backup Script

Hi there, Alright I have this line that I'm working with (bash programming): mysql -u username -pHASH ${args} < /home/site/backups/site.${args}.sql I get this error on that line: ./restore.sh: line 51: syntax error near unexpected token `newline' ./restore.sh: line 51: `mysql -u... (5 Replies)
Discussion started by: Pandoula
5 Replies

5. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

6. AIX

Data restoration

I am having the Lexmark/IBM 1/2” 3490E Tape Cartridge which contains old data which had taken up some years back. I want to know what kind of data is available and which backup product is used for backup the data and from which OS the data has been backup. It would be helpful for me if could... (3 Replies)
Discussion started by: kmvinay
3 Replies

7. AIX

mksysb restoration using NIM

Hi, I just want to ask whether anyone has experience on restoring mksysb backup in NIM. We have taken the mksysb backup and the SPOT has been configured on NIM also. I just want to know the checkpoints before doing this. Is there any checkpoints we need to do? Do we need to unmirrorvg? This... (12 Replies)
Discussion started by: depam
12 Replies

8. AIX

mksysb restoration steps

please provide me with the steps to restore from mksysb tape. i m using AIX 5.3 TL 7 (2 Replies)
Discussion started by: debasis9
2 Replies

9. Solaris

restoration

i have 2 hardisk. Hardisk A and Hardisk B. i have backup the oracle folder from hardisk A to hardisk B c0t0d0s4/oracle. If i want to restore , what is the command and what do i need to do ? urgent help needed. Thanks for your quick reply . (1 Reply)
Discussion started by: Farbegas
1 Replies

10. Shell Programming and Scripting

Restoration issue

Dear All, I am using sun OS server and performing weekly backup on a tape DDS2 for log files for the past 7 days, the log file sizes are ranging between 1 - 2 G......When i want to restore a specific file from the tape, i have to restore the whole files from the tape by using the command (tar... (1 Reply)
Discussion started by: charbel
1 Replies
Login or Register to Ask a Question
FS_SNAPSHOT_CREATE(2)					      BSD System Calls Manual					     FS_SNAPSHOT_CREATE(2)

NAME
fs_snasphot_create -- create read only snapshot of a mounted filesystem SYNOPSIS
#include <sys/attr.h> #include <sys/snapshot.h> int fs_snapshot_create(int dirfd, const char * name, uint32_t flags); int fs_snapshot_delete(int dirfd, const char * name, uint32_t flags); int fs_snapshot_list(int dirfd, struct attrlist * name, void * attrbuf, size_t bufsize, uint32_t flags); int fs_snapshot_rename(int dirfd, const char * old, const char * new, uint32_t flags); int fs_snapshot_mount(int dirfd, const char * dir, const char * snapshot, uint32_t flags); int fs_snapshot_revert(int dirfd, const char * name, uint32_t flags); DESCRIPTION
The fs_snapshot_create() function, for supported Filesystems, causes a snapshot of the Filesystem to be created. A snapshot is a read only copy of the filesystem frozen at a point in time. The Filesystem is identified by the dirfd parameter which should be a file descriptor associated with the root directory of the filesystem for which the snapshot is to be created. name can be any valid name for a component name (except . and ..). The fs_snapshot_delete() function causes the named snapshot name to be deleted and the fs_snapshot_rename() function causes the named snapshot old to be renamed to the name new. Available snapshots along with their attributes can be listed by calling fs_snapshot_list() which is to be used in exactly the same way as getattrlistbulk(2). The flags parameter specifies the options that can be passed. No options are currently defined. Snapshots may be useful for backing up the Filesystem and to restore the Filesystem to a previous state. Snapshots are expected to consume no additional storage on creation but might consume additional storage as the active Filesystem is modified. Similarly deletion of files on the active filesystem may not result in the storage being available if the snapshot contains the file. Additionally, the underlying Filesys- tem may impose a limit on the number of snapshots that can be taken. For supporting Filesystems, a snapshot may be used as a source for a mount. This can be done by the fs_snapshot_mount() function. The snapshot will be mounted read only. When a snapshot is mounted, it cannot be deleted but it can be renamed. To revert the filesystem to a previous snapshot, the fs_snapshot_revert() can be used. It should be noted that reverting a filesystem to a snapshot is a destructive operation and causes all changes made to the filesystem (including snapshots cre- ated after the snapshot being reverted to) to be lost. All snapshot functions require superuser privileges and also require an additional entitlement. RETURN VALUES
Upon successful completion, fs_snapshot_create() , fs_snapshot_delete() and fs_snapshot_rename() returns 0. Otherwise, a value of -1 is returned and errno is set to indicate the error. fs_snapshot_list() returns the number of entries successfully read. A return value of 0 indicates there are no more entries. Otherwise, a value of -1 is returned and errno is set to indicate the error. Return values are the same as getattrlistbulk(2). COMPATIBILITY
Not all volumes support snapshots. A volume can be tested for snapshot support by using getattrlist(2) to get the volume capabilities attribute ATTR_VOL_CAPABILITIES, and then testing the VOL_CAP_INT_SNAPSHOT flag. ERRORS
The fs_snapshot_create() , fs_snapshot_delete() , fs_snapshot_rename() and fs_snapshot_list() function will fail if: [EACCES] Read permissions are denied for the caller on the filesystem [ENOTSUP] The underlying filesystem does not support this call. [EINVAL] The value of the flags parameter is invalid. [ENOSPC] There is no free space remaining on the file system containing the file. [ENOSPC] The limit for the maximum number of snapshots for a filesystem has been reached. [EIO] An I/O error occurred while reading from or writing to the file system. [EPERM] The calling process does not have appropriate privileges. [EROFS] The requested operation requires modifications in a read-only file system. [ENAMETOOLONG] The length of a component of a pathname is longer than {NAME_MAX}. [EBADF] dirfd is not a valid file descriptor. [ENOTDIR] dirfd is a file descriptor associated with a non-directory file. In addition, the fs_snapshot_create() or fs_snapshot_rename() functions may fail with the following errors [EEXIST] The The named snapshot to be created already exists or the new name already exists for the snapshot being renamed. fs_snapshot_create() or fs_snapshot_rename() functions may fail with the following errors [ENOENT] The named snapshot does not exist. fs_snapshot_delete() function may fail with [EBUSY] The named snapshot is currently mounted. SEE ALSO
getattrlist(2), getattrlistbulk(2) HISTORY
The fs_snapshot_create() , fs_snapshot_delete() , fs_snapshot_delete() and fs_snapshot_list() function calls appeared in macOS version 10.13 Darwin July 4th, 2017 Darwin