book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!







This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

OSR5 FAQ

Does SCO OpenServer5 support the 'undelete' feature?

Yes, it does but unfortunately it's not active by default (see the online manual pages for details). To activate it:


Hate these ads?



- scoadmin -> Hardware/Kernel Manager
- MAXVDEPTH = max number of versioned files
- MINVTIME = seconds after which files get versioned




To activate file versioning on a directory:



- undelete -s <your_dir>







Roberto Zini

John Dubois added:

You don't have to relink. Rebooting may not be a bad idea to ensure that you've set things up such that it will be enabled next time you reboot, but you don't strictly have to do that either. If you just want to try the file versioning (undelete) feature, you can set/change maxvdepth and minvtime on the fly:



mount -oremount -omaxvdepth=3 -ominvtime=1 /dev/fs-name


This affects only the current filesystem mount; if you want it to be enabled next time you boot you need to change it either via scoadmin or by editing /etc/default/filesys.

Also, it should be pointed out that file versioning must be enabled, both in the filesystem and in a particular directory, at the time the files are removed from that directory, or they aren't versioned and can't be undeleted.

See also http://aplawrence.com/Companion/Chapter06.html





Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
4162727 2,544

/SCOFAQ/FAQ_scotec2undelete.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at Open Systems Computing and www.go2unix.com.


http://www.schewanick.com SCO Unix, Solaris, Linx (various), PHP, MySQL, Apache, uniBasic, dL4, Perl, System Administration and more....


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting



Twitter
o OK, children, Dad is quitting for now.. you may talk quiet quietly between yourselves. 4:56 PM Feb 2nd 2008








Change Congress