我正在清理/home/postgres中的一些文件,无意中删除了名为10的目录。现在什么都没用了。下面是我尝试以psql用户身份运行postgres时遇到的错误:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
我弄坏了什么,我该怎么解决?
其他信息:
我正在尝试检索2011年1月1日和2011年6月30日之间创建的机会。
Select o.CreatedDate, o.Id, o.LastModifiedDate
from Opportunity o
where o.CreatedDate > '1/1/2011' and o.CreatedDate < '12/31/2011'
order by o.LastModifiedDate
由于createdate是datetime,所以我得到一个错误,说createdDate是datetime,不应该用引号括起来。
有没有人能帮我解决这个问
我每天都用一个驱动器DAT HP Storageworks DAT 160备份我的数据。我每天都用一盘磁带,每周一次。每周一我检查一盘磁带,随机恢复保存在它上的一些文件。
我知道当数据被保存在磁带上时,驱动程序和备份软件会检查数据的完整性,但是我想知道手动检查保存的数据是否有意义。我反复使用这些磁带很多次,我将确保数据是安全的。